Typically, using a single feature extracted from the object to be classified does not yield a high classification accuracy. Fortunately, the features that can be extracted from an image are numerous.
Let the characteristics be indicated by and
. It is very important to note that the observed events
used to construct the Bayesian classifier must be independent events (conditional independence); otherwise, Bayes' theorem is no longer valid (one of the limitations of Bayesian classifiers): for example, classifiers analyzing overlapping parts of the image cannot be combined, nor can the estimator "is orange" be combined with "is not red."
The Naive Bayes (or idiot Bayes) assumption leverages the simplifying hypothesis of independence among the observed attributes (features): in this case, given observed variables
, the probability that the event
occurs will be: