MATLAB Answers

Parameters of multivariate multinomial distribution using Naive Bayes classifier

6 ビュー (過去 30 日間)
Zeynab Mousavikhamene
Zeynab Mousavikhamene 2020 年 8 月 10 日
回答済み: Gaurav Garg 2020 年 8 月 14 日
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