Understanding Naïve Bayes and Support Vector Machine and their implementation in Python