trainLearner(.learner, .task, .subset, .weights = NULL, ...)
RLearner
]
Wrapped learner.Task
]
Task to train learner on.integer
]
Subset of cases for training set, index the task with this.
You probably want to use getTaskData
for this purpose.numeric
]
Weights for each observation..task
given by .subset
. All parameters
in ...
must be passed to the underlying training function.