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

1 次查看(过去 30 天)
% Train the classifier
Nb = NaiveBayes.fit(Xtrain,Ytrain,'Distribution',dist);

回答(1 个)

Sai Veeramachaneni
Sai Veeramachaneni 2020-12-14
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

类别

Help CenterFile Exchange 中查找有关 Get Started with Statistics and Machine Learning Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by