bayespy.utils.random.bernoulli

bayespy.utils.random.bernoulli(p, size=None)[source]

Draw random samples from the Bernoulli distribution.