introduction to the principles of the naive bayes algorithm 8533209