Naive Bayes

From Rice Wiki
Revision as of 18:50, 24 May 2024 by Rice (talk | contribs) (Created page with "Category:Machine Learning '''Naive Bayes''' is an approach to Bayesian networks that simplify the computation of joint probability of an outcome based on high dimensional features. = Motivation = Consider binary classification output C is dependent on binary features X1~X3. By Bayes theorem, we can compute C's probability based on the features with Bayes' theorem: <math> P(C|X_1,X_2,X_3)=\frac{P(X_1,X_2,X_3|C)P(C)}{P(X_1,X_2,X_3)} </math> This, in turn,...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Naive Bayes is an approach to Bayesian networks that simplify the computation of joint probability of an outcome based on high dimensional features.

Motivation

Consider binary classification output C is dependent on binary features X1~X3. By Bayes theorem, we can compute C's probability based on the features with Bayes' theorem:

This, in turn, mean that we need to estimate the probability of every combination of features (0 0 0, 0 0 1...). This is computationally expensive.

How it works

By assuming that the features are independent, Naive Bayes simplifies the computation to