makeMlr3Surrogate {mlrintermbo} | R Documentation |
Create Surrogate Learner
Description
Creates the default mlrMBO surrogate learners as an mlr3::Learner
.
This imitates the behaviour of mlrCPO when no learner
argument is given to mbo()
/ initSMBO()
.
Usage
makeMlr3Surrogate(
is.numeric = TRUE,
is.noisy = TRUE,
has.dependencies = !is.numeric
)
Arguments
is.numeric |
( |
is.noisy |
( |
has.dependencies |
( |
Examples
# DiceKriging Learner:
makeMlr3Surrogate()
# mlr3pipelines Graph: imputation %>>% 'ranger' (randomForest):
makeMlr3Surrogate(is.numeric = FALSE)
# just the 'ranger' Learner:
makeMlr3Surrogate(is.numeric = FALSE, has.dependencies = FALSE)