SamplerHierarchical

0th

Percentile

SamplerHierarchical Class

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.

Keywords
datasets
Format

R6::R6Class inheriting from Sampler.

Construction

smpl = SamplerHierarchical$new(param_set, samplers)
  • param_set :: ParamSet Domain / support of the distribution we want to sample from.

  • samplers :: list() List of Sampler1D objects that gives a Sampler for each Param in the param_set.

Fields

See Sampler. Additionally, the class provides:

  • samplers :: list() List of Sampler1D objects that gives a Sampler for each Param in the param_set.

Methods

See Sampler.

See Also

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

Aliases
  • SamplerHierarchical
Documentation reproduced from package paradox, version 0.1.0, License: LGPL-3

Community examples

Looks like there are no examples yet.