fann_sys::fann_train_on_data [] [src]

pub unsafe extern fn fann_train_on_data(ann: *mut fann, data: *const fann_train_data, max_epochs: c_uint, epochs_between_reports: c_uint, desired_error: c_float)

Trains on an entire dataset, for a period of time.

This training uses the training algorithm chosen by fann_set_training_algorithm, and the parameters set for these training algorithms.

Parameters

Instead of printing out reports every epochs_between_reports, a callback function can be called (see fann_set_callback).

See also

fann_train_on_file, fann_train_epoch

This function appears in FANN >= 1.0.0.