Hierarchical Bayesian Learning Approaches for Different Labeling Cases