bayespy.inference.vmp.nodes.bernoulli.BernoulliDistribution.random

BernoulliDistribution.random(*phi, plates=None)

Draw a random sample from the distribution.