# bayespy.nodes.Dirichlet¶

class bayespy.nodes.Dirichlet(*args, **kwargs)[source]

Node for Dirichlet random variables.

The node models a set of probabilities which satisfy and .

where are concentration parameters.

The posterior approximation has the same functional form but with different concentration parameters.

Parameters: alpha : (…,K)-shaped array Prior counts