Knowledge check

Completed
1.

You plan to use the tidymodels framework 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 is a risk of default that requires human consideration. What kind of model is required?

2.

You've trained a classification model specification in tidymodels. You want to use the model, logreg_cls_fit, to return labels for a new dataset called new_data. Which code should you use?

3.

You're training a binary classification model by using the tidymodels framework. 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?