PhpRiot
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

fann_get_learning_momentum

(PECL fann >= 1.0.0)

fann_get_learning_momentumReturns the learning momentum

Description

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.

Parameters

ann

Neural network resource.

Return Values

Returns TRUE on success, or FALSE otherwise.

The learning momentum, or FALSE on error.

See Also

PHP Manual