Desicion Tree Algorithms
Project description
Decision Tree algorithms
Implementation of Decision tree algorithms
Installation
Run the following command to install:
pip install decisiontreeAlgorithms
Useage
from ID3Algorithm import ID3
# object of the ID3 class can be created in 2 way
# 1. By passing both the train and test csv file
# 2. By passing a lists of data_train, data_test, features_train, features_test
id3_1 = ID3("PATH to TRAIN csv","PATH to TEST csv")
id3_1.build_tree()
id3_1.classify()
id3_2 = ID3(dataset_train,dataset_test,headers_train,headers_test)
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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6d911ec3a84584a2e82b2ac146efe7db6982d579a05edb08e0ac4a604c335cd |
|
MD5 | 1ccbefbd6f0ef7fa663f7b8812b9ad3f |
|
BLAKE2b-256 | f69b30c6df7d1b4203cc28af7e9accde3c0afa5eef95706b8be29e85351cef56 |
Close
Hashes for decision_tree_ID3_Algorithm-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8042f6f3bb499a5ca47c5d15ee5e83d589e3b890870834a0e1309f93bc3a2376 |
|
MD5 | 22642cac174b7c6087e33b039ee15d45 |
|
BLAKE2b-256 | 86f6066c1587b38811342864bcb8edb894dd8def88623f5abc57b98969e35355 |