Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

fann_save(3) [php man page]

FANN_SAVE(3)								 1							      FANN_SAVE(3)

fann_save - Saves the entire network to a configuration file

SYNOPSIS
bool fann_save (resource $ann, string $configuration_file) DESCRIPTION
Saves the entire network to a configuration file. The configuration file contains all information about the neural network and enables fann_create_from_file(3) to create an exact copy of the neural network and all of the parameters associated with the neural network. These three parameters (fann_set_callback(3), fann_set_error_log(3), fann_set_user_data(3)) are NOT saved to the file because they cannot safely be ported to a different location. Also temporary parameters generated during training like fann_get_MSE(3) is not saved. PARAMETERS
o $ann -Neural network resource. o $configuration_file - The configuration file path. RETURN VALUES
Returns TRUE on success, or FALSE otherwise. SEE ALSO
fann_create_from_file(3). PHP Documentation Group FANN_SAVE(3)

Check Out this Related Man Page

FANN_CASCADETRAIN_ON_DATA(3)						 1					      FANN_CASCADETRAIN_ON_DATA(3)

fann_cascadetrain_on_data - Trains on an entire dataset, for a period of time using the Cascade2 training algorithm

SYNOPSIS
bool fann_cascadetrain_on_data (resource $ann, resource $data, int $max_neurons, int $neurons_between_reports, float $desired_error) DESCRIPTION
The cascade output 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_output_stagnation_epochs(3) during training of the output connections, in order for the training not to stagnate. If the training stagnates, the training of the output connections will be ended and new candidates will be prepared. This training uses the parameters set using the fann_set_cascade_..., but it also uses another training algorithm as it's internal train- ing algorithm. This algorithm can be set to either FANN_TRAIN_RPROP or FANN_TRAIN_QUICKPROP by fann_set_training_algorithm(3), and the parameters set for these training algorithms will also affect the cascade training. PARAMETERS
o $ann -Neural network resource. o $data -Neural network training data resource. o $max_neurons - The maximum number of neurons to be added to neural network. 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_file(3). PHP Documentation Group FANN_CASCADETRAIN_ON_DATA(3)
Man Page

We Also Found This Discussion For You

1. UNIX for Dummies Questions & Answers

Search for a string and copy the entire line

Hello All, I am after the script or the command which can scan the entire file for a string $PART_ID and when found to extract/copy the corresponding $PART_ID value (e.g THIRE_PTY_SOFTWARE for the 1st occurance of $PART_ID in the attached file) to a file. Appreciate your help. Thanks in... (3 Replies)
Discussion started by: forumthreads
3 Replies