Logistic Regression Example Code