mb706
mb706
```r print(t_inst) #> #> * State: Not optimized #> * Objective: #> * Search Space: #> id class lower upper nlevels #> #> 1: maxdepth ParamInt 1 5 5 #>...
I implemented a wrapper around SMAC for my own research [here](https://github.com/slds-lmu/paper_2022_reliable_mbo/blob/c217433a2624ae290894e8300f0bfce079d32a04/R/optimizers/optimizer_smac.R). It currently only works on linux, but it should not be *that* difficult to make it system-agnostic (need less...
`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...
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...
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?
```r > generateDesign(n = 0, par.set = makeParamSet(makeLogicalParam("x"))) Error in (function (n, k, preserveDraw = FALSE) : Invalid Argument: n and k must be integers > 0, n=0 k=1 ```...
Maybe I'm being pedantic, but IMHO this shouldn't happen. Even though `runif` gives us the guarantee that it never evaluates to 1, `lhs` doesn't do that. This came up in...
When using `generateGridDesign` with a "numeric" parameter that has integer typed lower and upper bounds, *and* with a resolution that leads to integer valued grid points, the resulting df column...
`as.data.frame.OptPathDF` has an okay help page, but to reach that help page, the user needs to know the function name (in particular, needs to know that OptPath objects have class...