Bayesian Nonparametrics: Hierarchical Bayesian nonparametric models with applications