Decision Tree algorithms
Implementation of Decision tree algorithms
Installation
Run the following command to install:
pip install decision-tree-ID3-Algorithm
Usage
from decisiontree.ID3Algorithm import ID3
id3_2 = ID3(dataset_train,headers_train,dataset_test,headers_test)
# dataset_train contains the training dataset with headers as headers_train
# dataset_test contains unlabled data with headers as headers_test
# all the agruments are of type list
id3_2.build_tree()
id3_2.classify()
Metadata
Release files for decision-tree-ID3-Algorithm 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| decision-tree-ID3-Algorithm-0.0.5.tar.gz | 3.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| decision_tree_ID3_Algorithm-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.6 kB
Release files / decision-tree-ID3-Algorithm-0.0.5.tar.gz
| Download URL | decision-tree-ID3-Algorithm-0.0.5.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d009a1f53dcd6a27b50fbde5bf3d32d95271e74ddad2d2582fd0c87fc25f027b
|
|
BLAKE2b-256 checksum How to use checksums |
6084b21e1991fcf83ae1a8ee489c701eb26e2b00783889df7a9327307ab78262
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.2
|
Release files / decision_tree_ID3_Algorithm-0.0.5-py3-none-any.whl
| Download URL | decision_tree_ID3_Algorithm-0.0.5-py3-none-any.whl |
|---|---|
| Size | 6.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2d5f7e089a672b2352c85e49f637b9c330f6782464047a332042a5865bf77b8f
|
|
BLAKE2b-256 checksum How to use checksums |
c1f094cec691625d08e9bf2680dae2351991b4c41f2536577561475e5cc0d5f6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.2
|