Implement Classification Using Logistic Regression