View source: R/default_fallback.R
default_fallback | R Documentation |
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.
default_fallback(learner, ...)
## S3 method for class 'Learner'
default_fallback(learner, ...)
## S3 method for class 'LearnerClassif'
default_fallback(learner, ...)
## S3 method for class 'LearnerRegr'
default_fallback(learner, ...)
learner |
Learner |
... |
|
Learner
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.