There reason why it called "naive" is it assumes the features are independent to each other. First, Let's initialise the parameters: → alpha: Just remember this as a smoothing parameter. Will explain it's importance later. → classes: To store the unique class labels.
Naive Bayes: Independence Assumption and Parameter Initialization
By
–
