| getLearnerCPO {mlrCPO} | R Documentation |
Get the CPO Associated with a Learner
Description
Returns the (outermost) chain of CPOs that are part of a Learner. This is useful to inspect the
preprocessing done by a learner object.
If there are hidden CPOs (e.g. if a learner has CPOs, but is then wrapped by a TuneWrapper),
this function can not retrieve these CPOs, but it will emit a warning if warn.buried is TRUE.
The retrieved CPOs will have the hyperparameter set according to the hyperparameter settings of the Learner.
This function is complementary to getLearnerBare.
Usage
getLearnerCPO(learner, warn.buried = TRUE)
Arguments
learner |
[ |
warn.buried |
[ |
Value
[CPO]. The (possibly composite) CPO found attached to learner.
See Also
Other CPOLearner related:
CPOLearner,
attachCPO(),
getLearnerBare()
[Package mlrCPO version 0.3.7-7 Index]