Naive Bayes
Last updated
Last updated
Sources:
It assumes conditional independence between every pair of features given the value of the class. This is why this method is called "naive".
The Bayes theorem states:
When assuming conditional independence:
So, we can use the following classification rule:
NB classifiers have worked quite well in many real-world situations, famously document classification, sentiment analysis and spam filtering.
They require a small amount of training data to estimate the necessary parameters.
They can be extremely fast compared to more sophisticated methods.
Although NB is considered as a decent classifier, it is known to be a bad estimator. So their output probabilities are not to be taken too seriously.