mlr-org / ParamHelpers

Helpers for parameters in black-box optimization, tuning and machine learning.
https://paramhelpers.mlr-org.com
Other
26 stars 9 forks source link

allow exclusive bounds #168

Open mb706 opened 7 years ago

mb706 commented 7 years ago

some learners in mlr allow for ranges of numeric parameters with exclusive bounds. This is currently worked around using .Machine$double.eps (and fails if the absolute value of the bound is >= 2), and should have a proper solution. I suggest parameters (and defaults) inclusive.bounds = TRUE, inclusive.bound.lower = inclusive.bounds, inclusive.bound.upper = inclusive.bounds.

berndbischl commented 7 years ago

yeah, i thought about this some time ago, then kinda was too lazy to do this.

i guess we could add this