bayespy.utils.random.categorical

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

Draw random samples from a categorical distribution.