A hands-on demo of Decision Tree classification with pre-pruning and post-pruning techniques to prevent overfitting and boost model reliability.
- Pre-Pruning (Early Stopping) ✅
- Post-Pruning (Cost Complexity Pruning) ✂️
- Hyperparameter tuning with GridSearchCV ⚙️
- Performance evaluation with Accuracy Score & Classification Report 📊
- Clone the repository:
https://github.com/Sidra-009/decision-tree-classification.git
⚖️ Key Takeaway
Pruning keeps models efficient, reliable & generalizable across datasets.