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_train_error_functionfann_get_training_algorithm>
^Fann FunctionsLast updated: Mon, 26 Oct 2026

fann_get_train_stop_function

(PECL fann >= 1.0.0)

fann_get_train_stop_function — Returns the stop function used during training

Description

function fann_get_train_stop_function(resource $ann): int

Returns the stop function used during training.

The stop functions are described further in stop functions constants.

The default stop function is FANN_STOPFUNC_MSE.

Parameters

ann

Neural network resource.

Return Values

The stop function constant, or false on error.

See Also


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