Is there a function that returns a Bayes Model?

3 ビュー (過去 30 日間)
Marianna Pizzo
Marianna Pizzo 2020 年 2 月 12 日
回答済み: Gautam 2025 年 1 月 8 日
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
Gautam 2025 年 1 月 8 日
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.

カテゴリ

Help Center および File ExchangeNaive Bayes についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by