O'Reilly logo

MATLAB for Machine Learning by Giuseppe Ciaburro

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Bayesian methodologies in MATLAB

As anticipated at the beginning of the topic, the Bayesian classifier algorithm assumes that the effect of an event on a given class is independent of the values of other events. This assumption, called the conditional independence of classes, is intended to simplify calculations, and for this reason the algorithm is named naive. It has been noted that the Naive Bayes classifier works well even when that independence assumption is not valid.

In MATLAB, the Naive Bayes classifier works with data in two steps:

  • First step of training: Using a set of data, preventively classified, the algorithm estimates the parameters of a probability distribution according to the assumption that predictors are conditionally ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required