Naive Base Classifier In Python