Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yuhexiong/iris-classification-decision-tree-python


https://github.com/yuhexiong/iris-classification-decision-tree-python

cross-entropy decision-tree machine-learning python scikit-learn

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# Iris Classification Decision Tree

### DataSet From [Kaggle - Iris Species](https://www.kaggle.com/datasets/uciml/iris)

## Overview

- Language: Python v3.9.15
- Package: Scikit-Learn
- Model: Decision Tree
- Loss Function: Cross Entropy
- Max Depth: 5, Min Samples Leaf: 3

## Data Distribution

![image](https://github.com/yuhexiong/iris-classifiaction-decision-tree-python/blob/main/image/sepal_length_vs_width.png)

![image](https://github.com/yuhexiong/iris-classifiaction-decision-tree-python/blob/main/image/petal_length_vs_width.png)

## Tree Plot

![image](https://github.com/yuhexiong/iris-classifiaction-decision-tree-python/blob/main/image/tree_plot.png)

## Correlation Matrix

![image](https://github.com/yuhexiong/iris-classifiaction-decision-tree-python/blob/main/image/correlation_matrix.png)

## Confusion Matrix - Accuracy Rate 96.67%

![image](https://github.com/yuhexiong/iris-classifiaction-decision-tree-python/blob/main/image/confusion_matrix_v3.png)