Vishvsalvi / Decision_Tree_ML

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Decision Tree Classifier with Postpruning

This is a Machine Learning project that implements a Decision Tree Classifier using the concept of postpruning to enhance the efficiency of the model. The project utilizes the popular Iris dataset, which consists of 150 measurements of iris petal and sepal lengths and widths, with 50 measurements for each species of "setosa," "versicolor," and "virginica."

Key Features

  1. Efficient Decision Tree Classifier
  2. Enhanced Accuracy with Postpruning
  3. Utilizes the Iris Dataset
  4. Achieves 98% Accuracy

Usage

  1. Install dependencies (Python, scikit-learn).
  2. Clone the project repository.
  3. Open the project directory.
  4. Run the code and see the accuracy results.

Result

Our Decision Tree Classifier with Postpruning achieves an impressive accuracy of 98% on the Iris dataset. This means it can accurately predict the species of an iris flower based on its measurements. The postpruning technique helps prevent overfitting and improves generalization capabilities.

About


Languages

Language:Jupyter Notebook 100.0%