GoLang fann_get_learning_momentum

request it (177)
GoLang replacement for PHP's fann_get_learning_momentum [edit | history]

Do you know a GoLang replacement for PHP's fann_get_learning_momentum? Write it!

PHP fann_get_learning_momentum

PHP original manual for fann_get_learning_momentum [ show | php.net ]


(PECL fann >= 1.0.0)

fann_get_learning_momentumReturns the learning momentum


float fann_get_learning_momentum ( resource $ann )

The learning momentum can be used to speed up FANN_TRAIN_INCREMENTAL training. A too high momentum will however not benefit training. Setting momentum to 0 will be the same as not using the momentum parameter. The recommended value of this parameter is between 0.0 and 1.0.

The default momentum is 0.



Neural network resource.

Return Values

Returns TRUE on success, or FALSE otherwise.

The learning momentum, or FALSE on error.

See Also