R/helpers.R
mlr3_init_predictor.Rd
Create an initial predictor function from a trained mlr3 learner
mlr3_init_predictor(learner)
mlr3::Learner A trained learner used for initialization.
mlr3::Learner
function
if (FALSE) { library("mlr3") l = lrn("classif.featureless")$train(tsk("sonar")) mlr3_init_predictor(l) }