Naive Bayes Feature importance
조회 수: 11 (최근 30일)
이전 댓글 표시
Hi,
Does Matlab provide any function or attributes to get the importance of each feature for a Naice Bayes classifier. Preictor Importance does that for a decision tree, but I want for Naive Bayes.
Thanks.
댓글 수: 0
답변 (1개)
Gouri Chennuru
2020년 7월 22일
Hi Shathesh
MATLAB has various functions and attributes defined for Naive Bayes Classifier.
ClassificationNaiveBayes is a naive Bayes classifier for multiclass learning. We can use fitcnb Train multiclass naive Bayes model. There are various properties, functions, inherted methods defined under this class. Categorical predictors, categorical levels, Misclassification cost, Kernal smoother types can also be updated.
There are many inbuilt methods like compact to compact naive Bayes classifier, crossval for Cross validating, resubEdge for Classification edge in naive Bayes classifiers by resubstitution, resubLoss for Classification loss in naive Bayes classifiers by resubstitution, resubMargin for Classification margins, resubPredict to Predict resubstitution labels.
Hope this Helps !
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Naive Bayes에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!