Statistical Details for the Naive Bayes Platform
Algorithm
Denote the possible classifications by C1, …, Ck. Denote the features, or predictors, by X1, X2,, Xp.
The conditional probability that an observation with Xj =  xj belongs to the class Cr is given as follows:
If Xj is categorical: P(Cr|xj)
If Xj is continuous:
Here, φ is the standard normal density function, and m and s are the mean and standard deviation, respectively, of the predictor values within the class Cr.
The conditional probability of that an observation with predictor values x1, x2,, xp belongs in the class Cr is computed as follows:

Help created on 9/19/2017