Knowledge check


Answer the following questions to check your understanding.


You plan to use Scikit-Learn to train a model that predicts credit default risk. The model must predict a value of 0 for loan applications that should be automatically approved, and 1 for applications where there's a risk of default that requires human consideration. What kind of model is required?


You have trained a classification model using the Scikit-Learn LogisticRegression class. You want to use the model to return labels for new data in the array x_new. Which code should you use?


You train a binary classification model using Scikit-Learn. When you evaluate it with test data, you determine that the model achieves an overall Recall metric of 0.81. What does this metric indicate?