mb706
mb706
```r parallelStartBatchtools(logging = TRUE, storagedir = "paralleltmp", show.info = TRUE) pmresult = parallelMap(function(x) list(result = x * x + 1, info = Sys.getenv()), 1:10, show.info = TRUE) ``` gives error...
parallelSource does not source if "level" argument is not given and same as in parallelStart(), similar to bug https://github.com/mlr-org/parallelMap/issues/67 . Why should there even be a level argument in parallelSource?
see if tests pass with proposed changes in paradox
preparing for s3 paradox
it appears that autoplot() for OptimInstanceSingleCrit with default args does not really return a ggplot-like object. One cannot do ```r autoplot(instance) + theme(legend.position = "none") ``` for example. Instead, a...
default autoplot() (type "marginal") of a TuningInstance currently looks like this: ![image](https://github.com/mlr-org/mlr3viz/assets/15801081/32c4045b-ebc1-43a9-84c0-cf4ba29401bf) The legends are duplicated, and the axis labels are not really necessary since they all display the same...
```r lrn("classif.rpart", minbucket = to_tune(2, 10))$param_set #> #> id class lower upper nlevels default value #> #> 1: cp ParamDbl 0 1 Inf 0.01 #> 2: keep_model ParamLgl NA NA...
```r l = lrn("classif.ranger") # the Learner class should do this: l$param_set$context_available = "task" l$param_set$values$mtry = to_tune(p_dbl(0, 1, trafo = function(x) ContextPV(function(task) max(1, round(length(task$feature_names) * x)), x) )) at =...
Either "requires" tag should be ignored for params with dependency, or dependent params with requirements should be forbidden. Currently "requires" is checked in `get_values()` and dependencies ignored.