Gets or sets the model fitting function.
Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
The fitting function should accept an array of integers containing the
indexes for the training samples, an array of integers containing the
indexes for the validation samples and should return information about
the model fitted using those two subsets of the available data.