← All topics
Quiz: Classification: questions with answers
10 questions, each with the answer and a short explanation.
Take the timed quiz + get a certificate →- Q1. A fraud model flags 100 transactions; 20 are really fraud. What is its precision?
- Q2. There are 50 at-risk students; the model flags 40 of them correctly. What is the recall?
- Q3. What happens when you lower the classification threshold from 0.5 to 0.3?
- Q4. Only 1% of emails are spam. A model that predicts "not spam" for everything has what accuracy?
- Q5. What does stratify=y do in traintestsplit?
- Q6. What does this print? (code)
- Q7. What does F1 combine?
- Q8. In the early placement support case, why does recall matter a lot?
- Q9. Why is maxdepth=3 used for the decision tree in this lesson?
- Q10. Which option helps a classifier when one class is rare?