(PECL fann >= 1.0.0)
fann_set_train_stop_function — Sets the stop function used during training
$ann
, int $stop_function
) : boolSets the stop function used during training.
The stop functions are described further in stop functions constants.
ann
Ресурс (resource) нейронной сети.
stop_function
The stop function constant.
Возвращает TRUE
в случае успешного выполнения, или FALSE
в противном случае.