void fann_train_on_file(struct fann * ann, char * filename, unsigned int max_epochs, unsigned int epochs_between_reports, float desired_error);
Trains ann using the data in filename until desired_error is reached, or until max_epochs is surpassed.
The training algorithm used by this function is chosen by the
fann_set_training_algorithm
function. The default training algorithm is FANN_TRAIN_RPROP
.
This function appears in FANN >= 1.0.0.