popsynth.aux_samplers.lognormal_aux_sampler module¶
-
class
popsynth.aux_samplers.lognormal_aux_sampler.
Log10NormalAuxSampler
(name: str, observed: bool = True)[source]¶ Bases:
popsynth.auxiliary_sampler.AuxiliarySampler
-
__init__
(name: str, observed: bool = True)[source]¶ A Log10 normal sampler, where property ~ 10^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 log10normal - tau (
AuxiliaryParameter
) – Standard deviation of the log10normal - sigma (
AuxiliaryParameter
) – Standard deviation of normal distribution from which observed values are sampled, ifobserved
is True
-
mu
¶
-
sigma
¶
-
tau
¶
-
-
class
popsynth.aux_samplers.lognormal_aux_sampler.
LogNormalAuxSampler
(name: str, observed: bool = True)[source]¶ Bases:
popsynth.auxiliary_sampler.AuxiliarySampler
-
__init__
(name: str, observed: bool = True)[source]¶ A Log normal sampler, where property ~ e^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 lognormal - tau (
AuxiliaryParameter
) – Standard deviation of the lognormal - sigma (
AuxiliaryParameter
) – Standard deviation of normal distribution from which observed values are sampled, ifobserved
is True
-
mu
¶
-
sigma
¶
-
tau
¶
-