Naive Bayes Classifier explained
What is the Naive Bayes Classifier ? Naive Bayes is based on the bayes theorem with independent assumptions between the predictors. It is easy to build with no complicated iterative parameter estimation which makes it particularly useful for large datasets. To understand the naive Bayes classifier we need to understand the Bayes theorem. So let’s first discuss the Bayes Theorem. What is the Bayes Theorem? Bayes theorem works on conditional probability. It states that an event 'a' will happen, given that an event 'b' has already occured. Using conditional probability we can calculate the probability of an event using its prior knowledge. where, P(A) : this is the prior probability. It describes the probability of our hypothesis A being true. P(B) : probability of the evidence, regardless of the hypothesis P(B/A) : probability of the event given that the hypothesis is true. P(A/B) : probability of the hypothesis given that the event ha...