Uniform random sampling for an arbitrary (bounded) ParamSet. Constructs 1 uniform sampler per Param, then passes them to SamplerHierarchical. Hence, also works for ParamSets sets with dependencies.
paradox::Sampler
-> paradox::SamplerHierarchical
-> SamplerUnif
new()
Creates a new instance of this R6 class.
SamplerUnif$new(param_set)
param_set
(ParamSet) Domain / support of the distribution we want to sample from. ParamSet is cloned on construction.
clone()
The objects of this class are cloneable with this method.
SamplerUnif$clone(deep = FALSE)
deep
Whether to make a deep clone.
Other Sampler:
Sampler1DCateg
,
Sampler1DNormal
,
Sampler1DRfun
,
Sampler1DUnif
,
Sampler1D
,
SamplerHierarchical
,
SamplerJointIndep
,
Sampler