{"id":22190981,"url":"https://github.com/yuhexiong/iris-classification-decision-tree-python","last_synced_at":"2025-03-24T20:41:23.039Z","repository":{"id":211525448,"uuid":"729373092","full_name":"yuhexiong/iris-classification-decision-tree-python","owner":"yuhexiong","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-01T04:20:58.000Z","size":363,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-01T05:20:46.112Z","etag":null,"topics":["cross-entropy","decision-tree","machine-learning","python","scikit-learn"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yuhexiong.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-12-09T03:11:49.000Z","updated_at":"2025-03-01T04:21:02.000Z","dependencies_parsed_at":"2024-04-05T06:47:54.369Z","dependency_job_id":null,"html_url":"https://github.com/yuhexiong/iris-classification-decision-tree-python","commit_stats":null,"previous_names":["yuhexiong/iris-classifiaction-decision-tree-python","yuhexiong/iris-classification-decision-tree-python"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuhexiong%2Firis-classification-decision-tree-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuhexiong%2Firis-classification-decision-tree-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuhexiong%2Firis-classification-decision-tree-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuhexiong%2Firis-classification-decision-tree-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yuhexiong","download_url":"https://codeload.github.com/yuhexiong/iris-classification-decision-tree-python/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245351757,"owners_count":20601087,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cross-entropy","decision-tree","machine-learning","python","scikit-learn"],"created_at":"2024-12-02T12:13:49.022Z","updated_at":"2025-03-24T20:41:23.027Z","avatar_url":"https://github.com/yuhexiong.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Iris Classification Decision Tree\n\n### DataSet From [Kaggle - Iris Species](https://www.kaggle.com/datasets/uciml/iris)\n\n## Overview\n\n- Language: Python v3.9.15\n- Package: Scikit-Learn\n- Model: Decision Tree\n- Loss Function: Cross Entropy\n- Max Depth: 5, Min Samples Leaf: 3\n\n## Run\n\n### Run code\n```bash\npython iris-classification-decision-tree.py\n```\n\n\n### Run streamlit\n\n```bash\nstreamlit run iris-classification-decision-tree-app.py\n```\n\nserver running at `http://localhost:8501`\n\n## Data\n\n![Streamlit Data](./image/streamlit_data.png)\n\n## Data Distribution\n\n![Streamlit Sepal](./image/streamlit_sepal_length_vs_width.png)\n\n![Streamlit Petal](./image/streamlit_petal_length_vs_width.png)\n\n## Correlation Matrix\n\n![Streamlit Correlation Matrix](./image/streamlit_correlation_matrix.png)\n\n## Confusion Matrix - Accuracy Rate 96.67%\n\n![Streamlit Confusion Matrix](./image/streamlit_confusion_matrix.png)\n\n\n## Tree Plot\n\n![Streamlit Tree Plot](./image/streamlit_tree_plot.png)\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuhexiong%2Firis-classification-decision-tree-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyuhexiong%2Firis-classification-decision-tree-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuhexiong%2Firis-classification-decision-tree-python/lists"}