Learn R Programming

paradox (version 1.0.1)

SamplerUnif: SamplerUnif Class

Description

Uniform random sampling for an arbitrary (bounded) ParamSet. Constructs 1 uniform sampler per parameter, then passes them to SamplerHierarchical. Hence, also works for ParamSets sets with dependencies.

Arguments

Super classes

paradox::Sampler -> paradox::SamplerHierarchical -> SamplerUnif

Methods

Inherited methods


Method new()

Creates a new instance of this R6 class.

Usage

SamplerUnif$new(param_set)

Arguments

param_set

(ParamSet)
The ParamSet to associated with this SamplerUnif.


Method clone()

The objects of this class are cloneable with this method.

Usage

SamplerUnif$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

See Also

Other Sampler: Sampler, Sampler1D, Sampler1DCateg, Sampler1DNormal, Sampler1DRfun, Sampler1DUnif, SamplerHierarchical, SamplerJointIndep