fann_set_train_stop_function

(PECL fann >= 1.0.0)

fann_set_train_stop_functionSets the stop function used during training

说明

bool fann_set_train_stop_function ( resource $ann , int $stop_function )

Sets the stop function used during training.

The stop functions are described further in stop functions constants.

参数

ann

Neural network resource.

stop_function

The stop function constant.

返回值

Returns TRUE on success, or FALSE otherwise.

参见