Paths Subjects Questions Quizzes Pricing Search
Intermediate Open Pro

Diagnosing and Fixing Overfitting in a Decision Tree

You train a DecisionTreeClassifier on a dataset with 10,000 samples and 50 features. The results are:

  • Train accuracy: 99.8%
  • Validation accuracy: 74.1%
  1. What is happening and why?
  2. Which hyperparameters would you tune, in what direction, and why does each one help?
  3. Is there anything structurally wrong with using a single decision tree for this problem?

Share this question

← Back to Decision Trees practice

We use cookies for product analytics to improve OmniAtlas. See our Privacy Policy.