SamplerHierarchical {paradox} | R Documentation |
SamplerHierarchical Class
Description
Hierarchical sampling for arbitrary param sets with dependencies, where the user specifies 1D samplers per param.
Dependencies are topologically sorted, parameters are then sampled in topological order,
and if dependencies do not hold, values are set to NA
in the resulting data.table
.
Super class
paradox::Sampler
-> SamplerHierarchical
Public fields
samplers
(
list()
)
List ofSampler1D
objects that gives a Sampler for each dimension in theparam_set
.
Methods
Public methods
Inherited methods
Method new()
Creates a new instance of this R6 class.
Usage
SamplerHierarchical$new(param_set, samplers)
Arguments
Method clone()
The objects of this class are cloneable with this method.
Usage
SamplerHierarchical$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.
See Also
Other Sampler:
Sampler
,
Sampler1D
,
Sampler1DCateg
,
Sampler1DNormal
,
Sampler1DRfun
,
Sampler1DUnif
,
SamplerJointIndep
,
SamplerUnif
[Package paradox version 1.0.1 Index]