Comments (9)
The problem is, that the helper function paramValueToString
from the paramHelpers package forces 2 digit output for numeric parameters. I think we should add another parameter digits
to paramValueToString
with a default value of 2.
from mlrmbo.
To addresss your problem as a user: we should add a parameter like output.precision
to mlrMBO to give the user control over number of digits.
from mlrmbo.
More important than the number of digits is the exponent of the parameter. You can add as many digits as you want, at some point every parameter is rounded to 0.0000..., but we want to see the difference between 1.24e-12 and 4.45e-12.
I'm fine with another parameter digits, but imho a parameter showExponent is more important.
from mlrmbo.
A parameter for the number of digits would be sufficient if we replace the conversion specification of sprintf
form f
to g
used by paramValueToString
. In the following example the number pf digits is fixed to 3:
sprintf("%.3f", 0.001)
# [1] "0.001"
sprintf("%.3g", 0.001)
# [1] "0.001"
sprintf("%.3f", 0.000000001)
# [1] "0.000"
sprintf("%.3g", 0.000000001)
# [1] "1e-09" <- This is what we want
from mlrmbo.
I would suggest this:
-
"%.3g"
This is indeed what I usually use nowadays for such logging. -
Number 1) should be a default setting in MBOControl.
The user can overwrite it.
Allow only one format now for all numerics in the logging line.
[mbo] 0: cost=0.01; gamma=0.00; epsilon=0.00 : error=0.028, execTime=24374.496
The default will be good 99% percent of the time. -
To program 2) you need to make ParamHelpers::paramValueToString better.
Introduce new arg "num.format", with default as in 1).
Is that it?
Assigned to Jakob.
from mlrmbo.
- is exactly what I have already proposed :-)
from mlrmbo.
Sure, but as we can talk less currently, I try to be specific even if it is a bit redundant ;-)
from mlrmbo.
I am reading what is posted here and elsewhere
from mlrmbo.
I added the proposed parameter to ParamHelpers::paramValueToString
with the corresponding default value. In mlrMBO there is now a output.num.format
parameter in the control object which gives the possibility to influence the output.
@daniel: this should fix your issue.
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.