Logistic Regression - Python Classification Template