(PECL fann >= 1.0.0)
fann_set_train_error_function — Sets the error function used during training
$ann
, int $error_function
) : boolSets the error function used during training.
The error functions are described further in error functions constants.
annresource a unei rețele neuronale.
error_functionThe error function constant
Întoarce TRUE în caz de succes, sau FALSE în caz contrar.