Imagine you have a Decision Tree that is overfitting the training data. How would you apply pruning to address this issue?

  • Ignore irrelevant features
  • Increase tree depth
  • Remove irrelevant branches
  • Use the entire dataset for training
Pruning involves removing branches that have little predictive power, reducing the model's complexity and sensitivity to noise in the training data. By removing irrelevant branches, the overfitting issue can be mitigated, and the model may generalize better to unseen data.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *