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

1 visualizzazione (ultimi 30 giorni)
% Train the classifier
Nb = NaiveBayes.fit(Xtrain,Ytrain,'Distribution',dist);

Risposte (1)

Sai Veeramachaneni
Sai Veeramachaneni il 14 Dic 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

Categorie

Scopri di più su Get Started with Statistics and Machine Learning Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by