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

fann_get_training_algorithm

(PECL fann >= 1.0.0)

fann_get_training_algorithm — Returns the training algorithm

Description

function fann_get_training_algorithm(resource $ann): int

Returns the training algorithm. This training algorithm is used by fann_train_on_data() and associated functions.

Note that this algorithm is also used during fann_cascadetrain_on_data(), although only FANN_TRAIN_RPROP and FANN_TRAIN_QUICKPROP is allowed during cascade training.

Parameters

ann

Neural network resource.

Return Values

Training algorithm constant, or false on error.

See Also


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