Sampler

0th

Percentile

Sampler Class

This is the abstract base class for sampling objects like Sampler1D, SamplerHierarchical or SamplerJointIndep.

Keywords
datasets
Format

R6::R6Class object.

Construction

Note: This object is typically constructed via a derived classes.

smpl = Sampler$new(param_set)
  • param_set :: ParamSet Domain / support of the distribution we want to sample from. ParamSet is cloned on construction.

Fields

  • param_set :: ParamSet Domain / support of the distribution we want to sample from.

Methods

  • sample(n) integer(1) -> Design Sample n values from the distribution.

See Also

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

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

Community examples

Looks like there are no examples yet.