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

ParamSetSugar #190

Closed mb706 closed 6 years ago

mb706 commented 7 years ago

Alternative API for creating ParamSet objects, using nonstandard evaluation to enable short and concise input.

> paramSetSugar(a: logical, b: integer[0, 10], c: numeric[, ]^2)
           Type len Def      Constr Req Tunable Trafo
a       logical   -   -           -   -    TRUE     -
b       integer   -   -     0 to 10   -    TRUE     -
c numericvector   2   - -Inf to Inf   -    TRUE     -
coveralls commented 7 years ago

Coverage Status

Changes Unknown when pulling 80f508d356119e52ac105519b029f9b7114c3af4 on mb706:paramSetSugar into on berndbischl:master.

mb706 commented 6 years ago

I now committed to the berndbischl/ParamHelpers repo, will re-open this PR.