Skip to content
/ entroPY Public

Python tool to calculate entropy/gini coefficent

Notifications You must be signed in to change notification settings

xmtiaz/entroPY

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

entroPY

Just a little something I hacked together to make my homework easier by calculating entropy and gini impurity, a principal foundation for the decision tree.

Usage

Write the .csv file of your choice on line 71. Specify a target feature on line 72, and a method of calculation (entropy/gini) on line 76. This program as-is will give the first two splits for your decision tree.

Run with

python entro.py 

About

Python tool to calculate entropy/gini coefficent

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages