DecisionTree

A simple python implementation of Decision Tree, using Gini index.

Usage:


import DecisionTree

node = DecisionTree.trainDecisionTree(labels, attrs)

result = node.predict(attr)

See also Example.py

GitHub

View Github