Description
This fits each model with the defined parameters
Usage
training(data, method, tuneValue, obsLevels, theDots = NULL)
Arguments
data
Dataframe consisting of both numeric feature values and a
single column named '.classes' to denoted group membership.
method
String dictating which model to fit
tuneValue
List of parameters to be applied to the specific model
obsLevels
Observed group levels
theDots
List of additional parameters to be applied to the
specific model
Value
- fit
- Fitted model with list with the following elements:
- xNames: Names of the features
- tuneValue: Parameters applied to the fitted model
- obsLevels: Observed levels of the groups