(Challenge) Logistic Regression and Precision-Recall Curve
In this challenge, you’ll train a logistic regression model using a feature besides EDUCATION
. Then you will graphically assess the trade-off between precision and recall, as well as calculate the area underneath a precision-recall curve. You will also calculate the ROC AUC on both the training and test sets and compare them.
Note: We have already set up the environment, loaded the cleaned dataset, and included the required Python packages for you in the Notebook file.