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:
•
|
•
|
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: