Skip to content

About

A hands-on demo of Decision Tree classification with pre-pruning and post-pruning techniques to prevent overfitting and boost model reliability.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

🌳 Decision Tree Classification Demo

A hands-on demo of Decision Tree classification with pre-pruning and post-pruning techniques to prevent overfitting and boost model reliability.

🚀 Features

  • Pre-Pruning (Early Stopping) ✅
  • Post-Pruning (Cost Complexity Pruning) ✂️
  • Hyperparameter tuning with GridSearchCV ⚙️
  • Performance evaluation with Accuracy Score & Classification Report 📊

💻 Installation

  1. Clone the repository:
    https://github.com/Sidra-009/decision-tree-classification.git
    

⚖️ Key Takeaway

Pruning keeps models efficient, reliable & generalizable across datasets.

About

A hands-on demo of Decision Tree classification with pre-pruning and post-pruning techniques to prevent overfitting and boost model reliability.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages