fann_set_callback
(PECL fann >= 1.0.0)
fann_set_callback — Sets the callback function for use during training
Parameters
ann
-
Neural network resource.
callback
-
The supplied callback function takes following parameters:
The callback should return true. If it returns false, the training will terminate.
Return Values
Returns true on success, or false otherwise.