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

1 view (last 30 days)
% Train the classifier
Nb = NaiveBayes.fit(Xtrain,Ytrain,'Distribution',dist);

Answers (1)

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

Community Treasure Hunt

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

Start Hunting!