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

조회 수: 1 (최근 30일)
Yooya yooya
Yooya yooya 2020년 12월 11일
답변: Sai Veeramachaneni 2020년 12월 14일
% 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

Community Treasure Hunt

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

Start Hunting!

Translated by