Skip to main content

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?")
printTree(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


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.14.tar.gz (3.4 kB view hashes)

Uploaded Source

Built Distribution

easyID3-0.0.14-py3-none-any.whl (3.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page