Basic Implentation of Naive Bayes Classifier and Logistic Regression Algorithms