Skip to content

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

Notifications You must be signed in to change notification settings

Sidra-009/Decision-tree-classification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published