php8.5
Home/ Manual/ fann / functions/ fann_get_learning_momentum

fann_get_learning_momentum

PHP function Edit on GitHub ✎

(PECL fann >= 1.0.0)

Returns the learning momentum

Description

fann_get_learning_momentum(resource $ann): float

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.

Parameters

ann

Description

Return Values Bool

The learning momentum, or false on error.

See Also

Source: reference/fann/functions/fann-get-learning-momentum.xml · from the official PHP manual (php/doc-en)