mlr3
trainModel.Rd
Used to enable caching
trainModel(learner, task)
a class Learner object from mlr3
Learner
a class Task object from mlr3, compatible with learner
Task
learner
learner with the fitted model
internally runs learner$train(task)
learner$train(task)