fann_get_training_algorithm

(PECL fann >= 1.0.0)

fann_get_training_algorithmReturns the training algorithm

Description

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