The website is in Maintenance mode. We are in the process of adding more features.
Any new bookmarks, comments, or user profiles made during this time will not be saved.

Machine Learning Resources

How does pruning a tree work?

Bookmark this question

Pruning refers to the process of simplifying a decision tree after it has already been created by removing leaf nodes that result in the smallest information gain. This technique can be useful in preventing overfitting to the training data, especially if some of the leaves contain a small number of observations. Alternatively, hyperparameters such as the maximum depth or minimum number of observations per leaf node can be tuned during model selection to accomplish a similar purpose. 

Leave your Comments and Suggestions below:

Please Login or Sign Up to leave a comment

Partner Ad  

Find out all the ways
that you can

Explore Questions by Topics

Partner Ad

Learn Data Science with Travis - your AI-powered tutor |