Fit a classification or regression model.
Usage
fit_model(obj, roi_x, y, wts, param, lev, last, classProbs, ...)
Arguments
- obj
A model fitting object.
- roi_x
An ROI containing the training data.
- y
The response vector.
- wts
A set of case weights.
- param
Tuning parameters.
- lev
Unused.
- last
Unused.
- classProbs
Unused.
- ...
Additional arguments to be passed to the method-specific function.