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: 9 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 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-01T04:20:58.000Z (10 months ago)
- Last Synced: 2025-03-01T05:20:46.112Z (10 months ago)
- Topics: cross-entropy, decision-tree, machine-learning, python, scikit-learn
- Language: Python
- Homepage:
- Size: 354 KB
- Stars: 0
- Watchers: 1
- 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
## Run
### Run code
```bash
python iris-classification-decision-tree.py
```
### Run streamlit
```bash
streamlit run iris-classification-decision-tree-app.py
```
server running at `http://localhost:8501`
## Data

## Data Distribution


## Correlation Matrix

## Confusion Matrix - Accuracy Rate 96.67%

## Tree Plot
