Function fann_sys::fann_get_learning_momentum[][src]

pub unsafe extern "C" fn fann_get_learning_momentum(ann: *const fann) -> c_float

Get the learning momentum.

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.

See also

fann_set_learning_momentum, fann_set_training_algorithm

This function appears in FANN >= 2.0.0.