# 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.
```python
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()
tree.fit(train_data, train_data_class)
# test_data : A ``pandas`` DataFrame containing the testing data
# returns : An array of predicted class for the given
tree.predict(test_data)
# print the tree after fitting the value
tree.print()
```
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.
```python
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()
tree.fit(train_data, train_data_class)
# test_data : A ``pandas`` DataFrame containing the testing data
# returns : An array of predicted class for the given
tree.predict(test_data)
# print the tree after fitting the value
tree.print()
```
Release files for id3tree 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| id3tree-0.0.4.tar.gz | 3.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| id3tree-0.0.4-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 7.5 kB
Release files / id3tree-0.0.4.tar.gz
| Download URL | id3tree-0.0.4.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4c9eba46215144f5b4ea6ead69923fc5aae60aba21c3e461adc0b38209a59a9e
|
|
BLAKE2b-256 checksum How to use checksums |
57ca53b97fca489996e3d4fe922f32be3f4698545517b0813da2c5e42789adb4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.6
|
Release files / id3tree-0.0.4-py2.py3-none-any.whl
| Download URL | id3tree-0.0.4-py2.py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
f19e9b8614f38dfa3664d1850a2a8874c5cc3796dbc3a2bacdd1ce7835fd921f
|
|
BLAKE2b-256 checksum How to use checksums |
f95a587a3d91e4ab61aab3e4d3bd03e8e85cebf5319ec575730f1ccc37ee0ca2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.6
|