🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← All topics

Quiz: Classification: questions with answers

10 questions, each with the answer and a short explanation.

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