Logistic Regression Python Example Code