MATLAB Answers

What different parameters can I use to see any effect it has on the model?

2 views (last 30 days)
Yooya yooya
Yooya yooya on 11 Dec 2020
Answered: Sai Veeramachaneni on 14 Dec 2020
% Train the classifier
Nb =,Ytrain,'Distribution',dist);

Answers (1)

Sai Veeramachaneni
Sai Veeramachaneni on 14 Dec 2020
You can try all the parameters of as specified here.
For your information - According to the R2018a Release Notes (fitNaiveBayes) is replaced with fitcnb

Community Treasure Hunt

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

Start Hunting!