Quiz: Introduction to scikit-learn and Model Evaluation

Quiz yourself on the scikit-learn and model evaluation concepts you learned this chapter.

Here’s a rapid-fire round of questions about this chapter.

1

A binary classification model is trained on a dataset of 100 instances. The following confusion matrix shows the model’s predictions:

What is the precision and recall of the model?
A)

Precision = 0.80, Recall = 0.67

B)

Precision = 0.80, Recall = 0.70

C)

Precision = 0.70, Recall = 0.80

D)

Precision = 0.67, Recall = 0.80

Question 1 of 50 attempted

Get hands-on with 1200+ tech skills courses.