Parameters of multivariate multinomial distribution using Naive Bayes classifier

2 次查看(过去 30 天)
Due to having categorical feature, I fitted multivariate multinomial distribution to a Naive Bayes classifier. I can not find the parameters of the fitting in the resultd model. I mean something analogousr to mean and standard deviation when having normal distribution. I want to visualize the distribution fitted in my model.

采纳的回答

Gaurav Garg
Gaurav Garg 2020-8-14
Hi Zeynab,
You can refer to the example here to train naive bayes classifier using multinomial predictor.
To visualize the distribution, you can refer to the doc here or here for histogram with a distribution fit.

更多回答(0 个)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by