Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TunerInterMBO crashes for minimal example #6

Closed
juliambr opened this issue Mar 21, 2020 · 1 comment
Closed

TunerInterMBO crashes for minimal example #6

juliambr opened this issue Mar 21, 2020 · 1 comment

Comments

@juliambr
Copy link

This minimal example does not run through for me:

ps <- ParamSet$new(list(ParamDbl$new("cp", lower = 0, upper = 1), ParamInt$new("minsplit", lower = 1, upper = 20)))
  ti <- TuningInstance$new(tsk("pima"), lrn("classif.rpart", predict_type = "prob"), rsmp("cv"), msrs(c("classif.auc")), ps, term("evals", n_evals = 11))

tuner <- TunerInterMBO$new()

tuner$tune(ti)

Throws the following error:

Error in private$.tune(instance) : abstract

Can you help?

@mb706
Copy link
Owner

mb706 commented Sep 8, 2020

This seems to have been because of API changes in mlr3tuning. Right now everything is working again. Thanks for the report!

@mb706 mb706 closed this as completed Sep 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants