Simple implementation of KNN Algorithm, COS Similarity, Logistic Regression in Python