CakeFest 2024: The Official CakePHP Conference

fann_get_learning_momentum

(PECL fann >= 1.0.0)

fann_get_learning_momentum返回学习动量

说明

fann_get_learning_momentum(resource $ann): float

学习动量可用来加速 FANN_TRAIN_INCREMENTAL 训练。 一个过高的学习动量不利于训练。 动量设为0效果和没设一样。该参数的值建议在0.0到1.0之间。

默认动量是 0.

参数

ann

神经网络 资源

返回值

成功时返回 true,其它情况下返回 false

正确,返回学习动量,错误则返回 false .

参见

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top