Model selected from a candidate set, as produced by the tune
function.
Usage
SelectedModel(..., control = MachineShop::settings("control"),
metrics = NULL, stat = MachineShop::settings("stat.Tune"),
cutoff = MachineShop::settings("cutoff"))
Arguments
...
model functions, function names, calls, or vectors
of these to serve as the candidate set from which to select, such as that
returned by expand_model.
control
control function, function name, or call
defining the resampling method to be employed.
metrics
metric function, function name, or vector of
these with which to calculate performance. If not specified, default
metrics defined in the performance functions are used. Model
selection is based on the first calculated metric.
stat
function or character string naming a function to compute a
summary statistic on resampled metric values for model selection.
cutoff
argument passed to the metrics functions.
Value
SelectedModel class object that inherits from MLModel.