mb706
mb706
to specify budget parameter
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...
```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
Suppose the following `ParamSet`: ```r > ps ps$add_dep("y", "x", CondEqual$new(TRUE)) ``` Here the `default = TRUE` indicates that, if the parameter `x` is not given, the whole thing should behave...
```r CondEqual$new(c("b", "c"))) ``` should throw an error
...as long as the dependencies are restricted to be within the ParamSets of a single sampler. (which is always the case when the ParamSet is constructed inside the SamplerJointIndep, as...