altar.distributions.UnitGaussian

Module Contents

Classes

class altar.distributions.UnitGaussian.UnitGaussian(name, locator, **kwds)

Bases: altar.distributions.Base.Base

Special case of the Gaussian probability distribution with σ = 1

initialize(self, rng)

Initialize with the given random number generator

verify(self, theta, mask)

Check whether my portion of the samples in {theta} are consistent with my constraints, and update {mask}, a vector with zeroes for valid samples and non-zero for invalid ones