MATLAB Answers

Parameters of multivariate multinomial distribution using Naive Bayes classifier

2 views (last 30 days)
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.

Accepted Answer

Gaurav Garg
Gaurav Garg on 14 Aug 2020
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.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!