fann_get_learning_momentum

Returns 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.

パラメータ

ann

ニューラルネットワークリソース。

戻り値

成功した場合に true、それ以外の場合に false を返します。

The learning momentum, or false on error.

参考

  • fann_set_learning_momentum
  • fann_set_training_algorithm