Parameters of multivariate multinomial distribution using Naive Bayes classifier

조회 수: 5(최근 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