Skip to content

yuhexiong/iris-classification-decision-tree-python

Repository files navigation

Iris Classification Decision Tree

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

python iris-classification-decision-tree.py

Run streamlit

streamlit run iris-classification-decision-tree-app.py

server running at http://localhost:8501

Data

Streamlit Data

Data Distribution

Streamlit Sepal

Streamlit Petal

Correlation Matrix

Streamlit Correlation Matrix

Confusion Matrix - Accuracy Rate 96.67%

Streamlit Confusion Matrix

Tree Plot

Streamlit Tree Plot

Releases

No releases published

Packages

No packages published

Languages