Skip to main content

simply use print(ID3(data,answer_column_name)) to print your tree.

Project description

Utilizes pandas, math, numpy and colorama. Easy textual print of the categorical-only ID3 adjusted for any number of answers and 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


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

Uploaded Source

Built Distribution

easyID3-0.0.6-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