multinomial bayes + hyperparameter fitting