The ID3 algorithm is a decision tree learning algorithm implemented in Python2
The code ID3.py includes the training data and the learning part
Run this program, you will get the dot file, which can be used in GraphViz to visiualize the decision tree.
To run on command line:
$ Python id3.rb > tree.dot