Easily print ID3 Algorithm Decision Tree
Project description
Utilizes pandas, math and numpy.
Easy textual print of categorical-only ID3 decision tree adjusted for any number of answers.
will clean data of perfectly unique columns (such as an index column).
example code:
tree = ID3(df, "Purchased?")
print(tree)
As of now there are four rotating colors for middle nodes (cyan magenta blue yellow) and two (red and green) for the final nodes. \ future release will include functions for controlling the print color scheme.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
easyID3-0.0.13.tar.gz
(3.5 kB
view hashes)