Comments (9)
It works with any regr. model that is able to provide predict.type="se". If the model does not, you still have the option to use makeBaggingWrapper to bootstrap the se estimator. Should be mentioned in tutorial, help text and maybe error message.
from mlrmbo.
Jakob, please for now check (in code) that the model can predict "se" for the infill crits that need "se".
Otherwise produce a helpful error message. Maybe mention the BaggingWrapper BRIEFLY as a solution, too.
Then close this
from mlrmbo.
checkStuff now checks, if the infill criterion needs se estimation and if the learner has support for that. If not the an error message is presented to the user with the hint to use makeBaggingWrapper.
from mlrmbo.
Huh?
We already had that check!
if(control$infill.crit %in% c("ei", "aei") && !learner$se)
stopf("The infill criterion needs the learner to support the prediction of standard error, but the provided learner does not (you could use the mlr wrapper makeBaggingWrapper to bootstrap the standard error estimator).")
if(control$infill.crit %in% c("ei", "aei", "lcb") && learner$predict.type != "se")
stopf("For infill criterion '%s' predict.type of learner %s must be set to 'se'!%s",
control$infill.crit, learner$id,
ifelse(learner$se, "",
"\nBut this learner does not seem to support prediction of standard errors!"))
Why did you basically add the same lines (without lcb, which also need se)?
from mlrmbo.
Nadja, can you please explain you original problem?
from mlrmbo.
Also check that we have a unit test for EI with model != km!
from mlrmbo.
Yes, it works. At the moment I am using "ei" with randomForest for example.
from mlrmbo.
Nadja, do you have any remaining issues?
Other, Jakob, pls check the unit tests and then close this, when the checkStuuf method is fixed again
from mlrmbo.
Fixed checkStuff. We have a unit test for EI with model != Kriging already in test_infillcrits.
from mlrmbo.
Related Issues (20)
- invalid class “km” object: the number of experiments must be larger than the spatial dimension HOT 2
- invalid class “km” object: the number of experiments must be larger than the spatial dimension HOT 7
- pkgdown-site points to slack HOT 1
- human in the loop mbo fails if final.evals is != 0
- Undocumented ranges for settings
- Error in if (err < tol) break : missing value where TRUE/FALSE needed for 'classif.gausspr' HOT 6
- The 'configureMlr' can not work with the parallel computing HOT 4
- qLCB not implemented perfectly
- The solution to the died training-No return HOT 1
- Test failure on R-devel HOT 3
- MOIMBO with interleave.random.points causes error HOT 1
- Unable to install mlrMBO using install.packages dependencies=T. I am on IOS and using R v 1.4, someone else? HOT 4
- optimizing "multiple objective" functions with "constraints" HOT 3
- Error: unused arguments (forbidden = expression(x2 > x1)) HOT 1
- Final Answer from mlrMBO outside of the specified variable ranges (multi objective function) HOT 2
- Error: Error in as.data.frame.OptPathDF(opt.path, include.rest = FALSE) : No elements where selected (via 'dob' and 'eol')! HOT 8
- Error: Setting of final.method and final.evals for multi-objective optimization not supported at the moment.
- Possible lack of consistency in xgboost hyperparameters optimization?
- error with AEI again
- Multi-task hyperparameter tuning using bayesian optimization
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mlrmbo.