You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/Machine Learning/Naive Bayes classifier/Naive-Bayes.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -32,13 +32,13 @@ Where:
32
32
33
33
The Naive Bayes classifier extends this to classify data points into categories. It assumes that the presence of a particular feature in a class is unrelated to the presence of any other feature (the "naive" assumption).
34
34
35
-
For a data point $X = (x_1, x_2, ..., x_n)$ and a class variable $C$:
35
+
For a data point $X = (x_1, x_2, ..., x_n)$ and a class variable $$:
36
36
37
37
$$ P(C|X) = \frac{P(X|C) \cdot P(C)}{P(X)} $$
38
38
39
39
The classifier chooses the class with the highest posterior probability:
0 commit comments