mlrCPO (version 0.3.7-7)

getLearnerBare: Get the Learner with the CPOs Removed

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

getLearnerBare(learner)

Value

[Learner]. The learner without attached CPOs.

Arguments

learner

[Learner]
The learner to strip.

See Also

Other CPOLearner related: CPOLearner, attachCPO(), getLearnerCPO()