We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I get the following error:
**Error in benchmark(learners, fuelTask, holdout) : Assertion on 'design' failed: Must be of type 'data.frame', not 'list'.**
When trying to benchmark the kNN, Random Forest and XGBoost models in chapter 12
kknnWrapper <- makeTuneWrapper(kknn, resampling = kFold, par.set = kknnParamSpace, control = gridSearch) forestWrapper <- makeTuneWrapper(forest, resampling = kFold, par.set = forestParamSpace, control = randSearch)
xgbWrapper <- makeTuneWrapper(xgb, resampling = kFold, par.set = xgbParamSpace, control = randSearch) learners = list(kknnWrapper, forestWrapper, xgbWrapper) holdout <- makeResampleDesc("Holdout") bench <- benchmark(learners, fuelTask, holdout)
Should I update mlr package or is there a way around it?
The text was updated successfully, but these errors were encountered:
SOLVED:
I solved it by simply specifying the package, like this:
bench <- mlr::benchmark(learners, fuelTask, holdout)
Sorry, something went wrong.
No branches or pull requests
I get the following error:
**Error in benchmark(learners, fuelTask, holdout) : Assertion on 'design' failed: Must be of type 'data.frame', not 'list'.**
When trying to benchmark the kNN, Random Forest and XGBoost models in chapter 12
Should I update mlr package or is there a way around it?
The text was updated successfully, but these errors were encountered: