Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/yuhexiong/iris-classification-decision-tree-python
- Owner: yuhexiong
- Created: 2023-12-09T03:11:49.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-05T05:57:21.000Z (10 months ago)
- Last Synced: 2024-05-21T13:25:32.873Z (8 months ago)
- Topics: cross-entropy, decision-tree, machine-learning, python, scikit-learn
- Language: Python
- Homepage:
- Size: 354 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)