void fann_train_on_data(struct fann * ann, struct fann_train_data * data, unsigned int max_epochs, unsigned int epochs_between_reports, float desired_error);
Trains annusing datauntil desired_erroris reached, or until max_epochsis 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.