popsynth.aux_samplers.normal_aux_sampler module¶
-
class
popsynth.aux_samplers.normal_aux_sampler.
NormalAuxSampler
(name: str, observed: bool = True)[source]¶ Bases:
popsynth.auxiliary_sampler.AuxiliarySampler
-
__init__
(name: str, observed: bool = True)[source]¶ A normal distribution sampler, where property ~ N(
mu
,sigma
).Parameters: - name (str) – Name of the property
- observed (bool) – True if the property is observed, False if it is latent. Defaults to True
- mu (
AuxiliaryParameter
) – Mean of the normal - tau (
AuxiliaryParameter
) – Standard deviation of the normal - sigma (
AuxiliaryParameter
) – Standard deviation of normal distribution from which observed values are sampled, ifobserved
is True
-
mu
¶
-
sigma
¶
-
tau
¶
-