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
Close
Hashes for decision-tree-ID3-Algorithm-0.0.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d009a1f53dcd6a27b50fbde5bf3d32d95271e74ddad2d2582fd0c87fc25f027b |
|
MD5 | e1d1753fe6348fcd9ca0b89e29d12536 |
|
BLAKE2b-256 | 6084b21e1991fcf83ae1a8ee489c701eb26e2b00783889df7a9327307ab78262 |
Close
Hashes for decision_tree_ID3_Algorithm-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d5f7e089a672b2352c85e49f637b9c330f6782464047a332042a5865bf77b8f |
|
MD5 | 926b6bada553ef94fb3e7246b1d1b9de |
|
BLAKE2b-256 | c1f094cec691625d08e9bf2680dae2351991b4c41f2536577561475e5cc0d5f6 |