Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<fann_get_total_neuronsfann_get_train_stop_function>
^Fann FunctionsLast updated: Mon, 26 Oct 2026

fann_get_train_error_function

(PECL fann >= 1.0.0)

fann_get_train_error_function — Returns the error function used during training

Description

function fann_get_train_error_function(resource $ann): int

Returns the error function used during training.

The error functions are described further in error functions constants.

The default error function is FANN_ERRORFUNC_TANH.

Parameters

ann

Neural network resource.

Return Values

The error function constant, or false on error.

See Also


<fann_get_total_neuronsfann_get_train_stop_function>
^Fann FunctionsLast updated: Mon, 26 Oct 2026