set.train.par(mlr)R Documentation

set.train.par

Description

Set a parameter for the underlying train function of a [wrapped.learner] in a [learn.task]. This is not meant for hyperparameters, pass these through the usual parset argument, but rather to fix (somewhat technical) arguments which stay the same for the whole experiment. You should not have to use this too often.

Usage

set.train.par(object, ...)

Arguments

object [learn.task]
Learn task that contains the wrapped learner.
... Parameters to fix in underlying train function. Have to be named.

Value

set.train.par,learn.task-method: learn.task object with changed parameters for train function of the wrapped learner.
set.predict.par,learn.task-method: learn.task object with changed parameters for train function of the wrapped learner.
set.train.par,wrapped.learner-method: wrapped.learner object with changed parameters for train function of the wrapped learner.


[Package mlr version 0.3.180 Index]