Skip to main content

This is used for creating multi-split entropy based ID3Trees.

Project description

# Id3trees

This is a python package that provides the ID3 Decision tree for
classifying and predicting data.

After installing the package in order to use it in the code, Please do
the following.


from Id3trees import tree

# train_data : A ``pandas`` DataFrame training data on which the ID3 tree
# classification needs to be done
# train_data_class : A ``pandas`` DataFrame consisting of a 1D series of
# training class data
tree = tree.MyDecisionTreeClassifier(), train_data_class)

# test_data : A ``pandas`` DataFrame containing the testing data
# returns : An array of predicted class for the given

# print the tree after fitting the value


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for id3tree, version 0.0.4
Filename, size File type Python version Upload date Hashes
Filename, size id3tree-0.0.4-py2.py3-none-any.whl (4.3 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size id3tree-0.0.4.tar.gz (3.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page