Desicion Tree Algorithms
Project description
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()
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
Built Distribution
File details
Details for the file decision-tree-ID3-Algorithm-0.0.5.tar.gz
.
File metadata
- Download URL: decision-tree-ID3-Algorithm-0.0.5.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d009a1f53dcd6a27b50fbde5bf3d32d95271e74ddad2d2582fd0c87fc25f027b |
|
MD5 | e1d1753fe6348fcd9ca0b89e29d12536 |
|
BLAKE2b-256 | 6084b21e1991fcf83ae1a8ee489c701eb26e2b00783889df7a9327307ab78262 |
File details
Details for the file decision_tree_ID3_Algorithm-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: decision_tree_ID3_Algorithm-0.0.5-py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d5f7e089a672b2352c85e49f637b9c330f6782464047a332042a5865bf77b8f |
|
MD5 | 926b6bada553ef94fb3e7246b1d1b9de |
|
BLAKE2b-256 | c1f094cec691625d08e9bf2680dae2351991b4c41f2536577561475e5cc0d5f6 |