fann_sys::fann_train [] [src]

pub unsafe extern fn fann_train(ann: *mut fann, input: *const fann_type, desired_output: *const fann_type)

Train one iteration with a set of inputs, and a set of desired outputs. This training is always incremental training (see fann_train_enum), since only one pattern is presented.

Parameters

  • ann - The neural network structure
  • input - an array of inputs. This array must be exactly fann_get_num_input long.
  • desired_output - an array of desired outputs. This array must be exactly fann_get_num_output long.

See also

fann_train_on_data, fann_train_epoch

This function appears in FANN >= 1.0.0.