Chinmaya083 / Entropy-and-information-gain-for-decision-tree

Functions to calculate the entropy and information gain for decision tree analysis.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Entropy-and-information-gain-for-decision-tree

Just run "DT_SampleTestCase.py" to check how the input format is and how the entropy and IG functions work. If you are using your own sample test file, in the beginning of the file, just type : from Exec import * Make sure all these fles are in the same directory as your test case file.

About

Functions to calculate the entropy and information gain for decision tree analysis.


Languages

Language:Python 100.0%