ParamHelpers
ParamHelpers copied to clipboard
Helpers for parameters in black-box optimization, tuning and machine learning.
`deparse()` can create vectors with more than one element when the expression being deparsed is long; vapply() will then throw an error because the return of `grepl()` is not a...
{tic} templates can be updated :rocket: :robot:
Alternative API for creating `ParamSet` objects, using nonstandard evaluation to enable short and concise input. ```R > pSS(a: logical, b: integer[0, 10], c: numeric^2) Type len Def Constr Req Tunable...
@ja-thomas do we still need this?
do we still ned this? @ja-thomas
To correctly respect the defaults for requirements testing a more complicated algorithm was necessary. Note that we use `isTRUE(try(requiresOk(par.set$pars[[pn]], c(new.par.vals, old.par.vals[pn])), silent = TRUE))` because sometimes the requirements involve variables...
Not sure, but [this](https://github.com/mlr-org/ParamHelpers/blob/c2d989ca6f90357e0a80dcf125686aeac626ad9e/R/generateDesign.R#L136) looks like a bug -- it should probably call `fun` instead of randomLHS?