Knowledge check

Completed

Answer the following questions to check your understanding.

1.

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?

2.

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?

3.

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?