You are familiar with the steps of training and testing a classifier. With logistic regression, we will do the following:
- Load data into feature and target arrays, X and y, respectively
- Split the data into training and testing sets
- Train the logistic regression classifier on the training set
- Test the performance of the classifier on the test set