Comments (14)
The function should not only return the design point, but also - now in a list - the infill crit value found by optimization, with a correct name.
It would be cool if this was stored in the opt.path. Or does this introduce problems?
(it should not).
from mlrmbo.
Just to make sure that I understood. Assume infill.x
stores the generated points. The function should now return a list of the following type: list(infill.x = infill.x, infill.y = infill.crit.fun(infill.x, ...))
.
Afterwards the generated points shall be stored in the opt.path
.
from mlrmbo.
Looks ok.
Stay with the names in propPoints return.
You could ask the optimizers for the y value, but maybe it is much easier to program, to do one extra infill eval.
The points are of course already in the optpath. They get added when they are really evaled.
You need to add an extra column in the optpath. Please call this not infill.y, but use the name of the crit from the control.
from mlrmbo.
Yes, I thought about adapting each optimizer to return the y value, but I think one extra evaluation is not that bad.
from mlrmbo.
Do the simple, extra eval!
from mlrmbo.
At the moment the only way to add a column is to handle the crit.value as a performance measure. Maybe we should think about extending the opt path functions to allow logging of other interesting values (beside dob and eol)?
from mlrmbo.
Is it possible to allow the object function to return not only the "y"'s but also other measures? Should I open a new issue regarding this problem? I tackle this problem at the moment with saving my measures in an extern file...
from mlrmbo.
Hmm. This is definitely another issue.
Open another issue and explain what you want and why.
from mlrmbo.
proposePoints
now returns the crit value as well. As a next step it will be stored in the optimization path.
from mlrmbo.
Adding the infill crit value to the opt path is no problem, but I got errors during the learning and predictions phases of the learners. Do they somehow use the opt.path y-values?
I circumvent the problem by maintaining another variable opt.path2
which is used just for storing the values and is not passed to any other function. This is far from elegant, I know, but I think it is much easier than adapting all the other parts.
from mlrmbo.
Fixed errors for single point proposal by removing the infill crit value from the opt path in makeMBOTask
, but with multipoint proposal I get the following error. You cannot reproduce that, because I did not commit something that fails.
Warnung in train(learner, rt) :
Could not train learner regr.km: Error in chol.default(R) :
der führende Minor der Ordnung 9 ist nicht positiv definit
from mlrmbo.
-
Removing the crit val in makeMBOTask is correct!
This functions takes the stored / logged data and transform it into a regr. problem.
The function needs of course to drop all technical stuff we also store in the optpath. -
The error you get simply means that the kriging model "numerically breaks".
If this ONLY happens after your changes, there might be something wrong there.
If everything else seems ok, push, and I will look at it.
from mlrmbo.
Some tests fail and I simply cannot figure out the reason. It ONLY occurs if I use only one opt.path. I set up a new branch for this. Please take a look at this. Otherwise I will get a heart-attack soon 😞
from mlrmbo.
crit values are returned and also nicely stored in opt.path
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.