Php/docs/function.fann-set-train-error-function
From Get docs
fann_set_train_error_function
(PECL fann >= 1.0.0)
fann_set_train_error_function — Sets the error function used during training
Description
fann_set_train_error_function
( resource $ann
, int $error_function
) : bool
Sets the error function used during training.
The error functions are described further in error functions constants.
Return Values
Returns TRUE
on success, or FALSE
otherwise.