Learn R Programming

mlr3 (version 0.23.0)

default_fallback: Create a Fallback Learner

Description

Create a fallback learner for a given learner. The function searches for a suitable fallback learner based on the task type. Additional checks are performed to ensure that the fallback learner supports the predict type.

Usage

default_fallback(learner, ...)

# S3 method for Learner default_fallback(learner, ...)

# S3 method for LearnerClassif default_fallback(learner, ...)

# S3 method for LearnerRegr default_fallback(learner, ...)

Value

Learner

Arguments

learner

Learner
The learner for which a fallback learner should be created.

...

any
ignored.