©
This document uses PHP Chinese website manual Release
(PECL fann >= 1.0.0)
fann_set_train_error_function — Sets the error function used during training
$ann
, int $error_function
)Sets the error function used during training.
The error functions are described further in error functions constants.
ann
Neural network resource .
error_function
The error function constant
Returns TRUE
on success, or FALSE
otherwise.