A lightweight wrapper around a ParamSet and a data.table::data.table()
, where the
latter is a design of configurations produced from the former - e.g.,
by calling a generate_design_grid()
or by sampling.
Public fields
param_set
(ParamSet).
data
(
data.table::data.table()
)
Storeddata
.
Methods
Method new()
Creates a new instance of this R6 class.
Usage
Design$new(param_set, data, remove_dupl)
Arguments
param_set
(ParamSet).
data
(
data.table::data.table()
)
Storeddata
.remove_dupl
(
logical(1)
)
Remove duplicates?
Method transpose()
Converts data
into a list of lists of row-configurations,
possibly removes NA
entries of inactive parameter values due to unsatisfied dependencies,
and possibly calls the trafo
function of the ParamSet.
Arguments
filter_na
(
logical(1)
)
ShouldNA
entries of inactive parameter values due to unsatisfied dependencies be removed?trafo
(
logical(1)
)
Should thetrafo
function of the ParamSet be called?