This project demonstrates the implementation of a Decision Tree Classifier using the Iris dataset from Scikit-learn.
In this project, I practiced:
- Decision Tree Classification
- Train-Test Split
- Model Training
- Accuracy Evaluation
- Confusion Matrix
- Classification Report
- Decision Tree Visualization
- Pre-pruning
- Hyperparameter Tuning using GridSearchCV
- Iris Dataset from Scikit-learn
- Total samples: 150
- Features:
- Sepal Length
- Sepal Width
- Petal Length
- Petal Width
Target Classes:
- Setosa
- Versicolor
- Virginica
- pandas
- numpy
- matplotlib
- scikit-learn
DecisionTreeClassifier()