After I have upgraded the ‘bbotk’ to version 0.8.0.9000 and the ‘mlr3fselect’ to version 0.12.0.9000, the error will occur when i run the example codes.
library("mlr3verse")
library('mlr3fselect')
tsk("spam")
instance = fsi(
task = tsk("spam"),
learner = lrn("classif.svm", type = "C-classification"),
resampling = rsmp("cv", folds = 3),
measures = msr("classif.ce"),
terminator = trm("evals", n_evals = 20)
)
Error in eval(inherit, parent_env, NULL) :
object ‘OptimInstanceSingleCrit’ not found
I have tried to downgrade ‘bbotk’ to version 0.8.0 and ‘mlr3fselect’ to 0.12.0 both or solely, but the error remains.
New contributor
岳阳阳 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.