PHP 8.1.0 Alpha 1 available for testing


(PECL fann >= 1.0.0)

fann_cascadetrain_on_fileTrains on an entire dataset read from file, for a period of time using the Cascade2 training algorithm


fann_cascadetrain_on_file ( resource $ann , string $filename , int $max_neurons , int $neurons_between_reports , float $desired_error ) : bool

Does the same as fann_cascadetrain_on_data(), but reads the training data directly from a file.

Liste de paramètres


Ressource de réseau de neurones.


A file containing the data for training.


The maximum number of neurons to be added to neural network


The number of neurons between printing a status report. A value of zero means no reports should be printed.


The desired fann_get_MSE() or fann_get_bit_fail(), depending on which stop function is chosen by fann_set_train_stop_function().

Valeurs de retour

Retourne true en cas de succès, false sinon.

Voir aussi

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top