array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'pt_BR', ), 'this' => array ( 0 => 'function.fann-cascadetrain-on-file.php', 1 => 'fann_cascadetrain_on_file', ), 'up' => array ( 0 => 'ref.fann.php', 1 => 'Fann Funções', ), 'prev' => array ( 0 => 'function.fann-cascadetrain-on-data.php', 1 => 'fann_cascadetrain_on_data', ), 'next' => array ( 0 => 'function.fann-clear-scaling-params.php', 1 => 'fann_clear_scaling_params', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/fann/functions/fann-cascadetrain-on-file.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL fann >= 1.0.0)
fann_cascadetrain_on_file — Trains on an entire dataset read from file, for a period of time using the Cascade2 training algorithm
$ann
,$filename
,$max_neurons
,$neurons_between_reports
,$desired_error
Does the same as fann_cascadetrain_on_data(), but reads the training data directly from a file.
ann
resource da rede neural.
filename
A file containing the data for training.
max_neurons
The maximum number of neurons to be added to neural network
neurons_between_reports
The number of neurons between printing a status report. A value of zero means no reports should be printed.
desired_error
The desired fann_get_MSE() or fann_get_bit_fail(), depending on which stop function is chosen by fann_set_train_stop_function().