Dirichlet Distribution: The Underlying Intuition and Python Implementation