bayespy.nodes.Bernoulli.random

Bernoulli.random()

Draw a random sample from the distribution.