/decision-tree-computations

Simple scripts for computing information gains of attributes in a training table.

Primary LanguagePython

Decision Tree Computations

Just a simple set of scripts I needed in order to compute the information gain of each attribute within a table containing training data. Thought I would share it with the world in case anyone else needs to compute these values. I used python 3.5. This is for the ID3 algorithm and it's only for one binary class.