getLearnerBare: Get the Learner with the CPOs Removed

Description Usage Arguments Value See Also

View source: R/learner.R

Description

Get the bare Learner without the CPOs that were previously added.

It is still possible for the result to be a wrapped learner, e.g. a TuningWrapper wrapped learner. It is also possible that below the tuning wrapper, there are more CPOs. These can and will not be removed.

This function is complementary to getLearnerCPO.

Usage

1
getLearnerBare(learner)

Arguments

learner

[Learner]
The learner to strip.

Value

[Learner]. The learner without attached CPOs.

See Also

Other CPOLearner related: CPOLearner, attachCPO, getLearnerCPO


mlr-org/mlrCPO documentation built on May 28, 2019, 8:45 a.m.