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