How to Develop a Naive Bayes Classifier from Scratch in Python