Learning about a Categorical Latent Variable under Prior