Skip to content

etoricky/ExplainDecisionTree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Purpose

This project demonstrates how to train a decision tree using entropy and gini index and visualize the tree in PNG under Jupyter notebook.

Environment

Python 3 (Anaconda 3, Jupyter Notebook)
Pandas, SciKit-Learn
pydotplus for turning the decision tree to PNG

Input - weather_normal.csv dataset

input

Output 1 - Decision Tree with Entropy

entropy

Output 2 - Decision Tree with Gini Index

gini

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published