Machine Learning Series: Logistic Regression Algorithm in Python