bayespy.inference.vmp.nodes.categorical.CategoricalMoments.from_values

classmethod CategoricalMoments.from_values(x, categories)[source]

Return the shape of the moments for a fixed value.

The observations are scalar.