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

Quiz: Evaluation and Tuning: questions with answers

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

Take the timed quiz + get a certificate →
  1. Q1. Training accuracy is 100% but test accuracy is 72%. What is happening?
  2. Q2. What does 5-fold cross-validation do?
  3. Q3. Why put StandardScaler inside a Pipeline?
  4. Q4. Which is an example of data leakage when predicting placement?
  5. Q5. When should you use the test set?
  6. Q6. What does this print? (code)
  7. Q7. Cross-validation gave depth 2: 0.772, depth 4: 0.815, depth 12: 0.782. Which depth should you choose?
  8. Q8. What does OneHotEncoder(handleunknown="ignore") protect against?
  9. Q9. Why is scaling the whole dataset before splitting it a form of data leakage?
  10. Q10. What is a hyperparameter?