Tell us how is a decision tree pruned?
Answer / Lucky Tyagi
A decision tree can be pruned (reduced in size) to improve its predictive accuracy and prevent overfitting. Pruning involves removing branches or nodes that contribute little to the overall accuracy of the tree, usually by minimizing the cost function (such as cross-entropy for classification problems). Common methods for pruning include reduced error pruning, cost complexity pruning, and minimum description length pruning.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain the k-nearest algorithm different from the knn clustering?
How a roc curve works?
What is a classifier in machine learning?
How to handle missing data in a dataset in Machine Learning?
Explain the purpose of machine learning?
What is an Incremental Learning algorithm in the ensemble?
How would you handle an imbalanced dataset?
Can you explain bias-variance trade-off?
Which method is frequently used to prevent overfitting?
What is classification in machine learning?
What is feature engineering?
Which is best language for machine learning?
AI Algorithms (74)
AI Natural Language Processing (96)
AI Knowledge Representation Reasoning (12)
AI Robotics (183)
AI Computer Vision (13)
AI Neural Networks (66)
AI Fuzzy Logic (31)
AI Games (8)
AI Languages (141)
AI Tools (11)
AI Machine Learning (659)
Data Science (671)
Data Mining (120)
AI Deep Learning (111)
Generative AI (153)
AI Frameworks Libraries (197)
AI Ethics Safety (100)
AI Applications (427)
AI General (197)
AI AllOther (6)