Naive Bayes Classifier From Scratch in Python

http://machinelearningmastery.com/naive-bayes-classifier-scratch-python/