Everything you need to know about the Naive Bayes algorithm