Is there a function that returns a Bayes Model?
이전 댓글 표시
I used the function fitcnb to get a Naive Bayes Classifier but I need to get also a Bayes Classifier (which is the naive without the indipendence hyphotesis). Is there a function, similar to fitcnb, that returns a Bayes Model?
답변 (1개)
Gautam
2025년 1월 8일
0 개 추천
Hello Marianna,
Unfortunately, MATLAB does not provide a direct built-in function for fitting a full Bayesian classifier that models dependencies between features in the same way as “fitcnb” does for Naive Bayes.
You can implement you own custom Bayesian Classifier or use the third-party toolbox, Bayes Net Toolbox. However, note that the Bayes Net Toolbox is not part of the official MATLAB toolboxes and MathWorks does not extend support for this.
카테고리
도움말 센터 및 File Exchange에서 Naive Bayes에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!