Result from train.
It internally stores the underlying fitted model, the subset used for training, features used for training, levels of factors in the data set and computation time that was spent for training.
Object members: See arguments.
The constructor makeWrappedModel
is mainly for internal use.
makeWrappedModel(
learner,
learner.model,
task.desc,
subset,
features,
factor.levels,
time
)
WrappedModel.
(Learner | character(1)
)
The learner.
If you pass a string the learner will be created via makeLearner.
(any)
Underlying model.
TaskDesc
Task description object.
(integer | logical | NULL
)
Selected cases. Either a logical or an index vector.
By default NULL
if all observations are used.
(character)
Features used for training.
(named list of character)
Levels of factor variables (features and potentially target) in training data.
Named by variable name, non-factors do not occur in the list.
(numeric(1)
)
Computation time for model fit in seconds.