Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

fann_cascadetrain_on_file(3) [php man page]

FANN_CASCADETRAIN_ON_FILE(3)						 1					      FANN_CASCADETRAIN_ON_FILE(3)

fann_cascadetrain_on_file - Trains on an entire dataset read from file, for a period of time using the Cascade2 training algorithm.

SYNOPSIS
bool fann_cascadetrain_on_file (resource $ann, string $filename, int $max_neurons, int $neurons_between_reports, float $desired_error) DESCRIPTION
Does the same as fann_cascadetrain_on_data(3), but reads the training data directly from a file. PARAMETERS
o $ann -Neural network resource. o $filename - The maximum number of neurons to be added to neural network o $max_neurons - The number of neurons between printing a status report to stdout. A value of zero means no reports should be printed. o $neurons_between_reports - The number of neurons between printing a status report. A value of zero means no reports should be printed. o $desired_error - The desired fann_get_MSE(3) or fann_get_bit_fail(3), depending on which stop function is chosen by fann_set_train_stop_func- tion(3). RETURN VALUES
Returns TRUE on success, or FALSE otherwise. SEE ALSO
fann_train_on_data(3), fann_cascadetrain_on_data(3). PHP Documentation Group FANN_CASCADETRAIN_ON_FILE(3)

Check Out this Related Man Page

FANN_GET_CASCADE_CANDIDATE_CHANGE_FRACTION(3)				 1			     FANN_GET_CASCADE_CANDIDATE_CHANGE_FRACTION(3)

fann_get_cascade_candidate_change_fraction - Returns the cascade candidate change fraction

SYNOPSIS
float fann_get_cascade_candidate_change_fraction (resource $ann) DESCRIPTION
The cascade candidate change fraction is a number between 0 and 1 determining how large a fraction the fann_get_MSE(3) value should change within fann_get_cascade_candidate_stagnation_epochs(3) during training of the candidate neurons, in order for the training not to stagnate. If the training stagnates, the training of the candidate neurons will be ended and the best candidate will be selected. It means that if the MSE does not change by a fraction of fann_get_cascade_candidate_change_fraction(3) during a period of fann_get_cas- cade_candidate_stagnation_epochs(3), the training of the candidate neurons is stopped because the training has stagnated. If the cascade candidate change fraction is low, the candidate neurons will be trained more and if the fraction is high they will be trained less. The default cascade candidate change fraction is 0.01, which is equalent to a 1% change in MSE. PARAMETERS
o $ann -Neural network resource. RETURN VALUES
The cascade candidate change fraction, or FALSE on error. SEE ALSO
fann_set_cascade_candidate_change_fraction(3), fann_get_MSE(3), fann_get_cascade_candidate_stagnation_epochs(3). PHP Documentation Group FANN_GET_CASCADE_CANDIDATE_CHANGE_FRACTION(3)
Man Page