paradox
paradox copied to clipboard
ParamHelpers Next Generation
@berndbischl @mllg @mb706 @be-marc summarising our discussions here and including action points. Problem: Want to avoid two R6 parameter interfaces that perform a similar task (paradox and param6). param6 created...
Delay initing / cloning of `Param`s to when it is necessary by: 1. making `Param`s immutable, except for the `id`. If you want a different `Param` you have to create...
* required and dependency check can be activated in `ParamSet$check(check_strict = TRUE)`. Default is `FALSE` * `get_values(remove_dependencies = TRUE)` (better name?) removes all parameter values with unsatisfied dependencies. Default is...
```r > as.data.table(ps(x = p_lgl())) id class lower upper levels nlevels is_bounded special_vals default storage_type tags 1: x ParamLgl NA NA TRUE,FALSE 2 TRUE logical > as.data.table(ps()) Null data.table (0...
The given function could generate any kind of sample, so there is no reason to restrict this to `ParamDbl`. `ParamUty` still needs to be kept out because we don't sample...
See [tests](https://github.com/mlr-org/paradox/blob/8daebd96c27ad72b271da1cf6236d71b91f2d10c/tests/testthat/test_ParamSet.R#L278) for how exactly this could work. The idea is to have a `$callbacks` slot of functions that get called whenever `$values` changes; the functions get called in turn...
As described in #215 closes #215
Eg in bbotk we only use the PS to describe domain and codomains. But we now have defaults in there, and also "values" (which have both no place there) ```...