Skip to content

iks1012/DecisionTreeID3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Decision Tree Full Implementation -- ID3 Algorithm


The dataset is titanic.csv

How to run the code:

For all versions, be sure to include the --dataset tag and indicate the path to the CSV file containing the data like so --dataset /data/set/path/filename.csv.




To run the code, simply input the following command into the terminal:

$ python id3.py --dataset /path/to/dataset/filename.csv

running this will train the tree with the data set and test it after it is done training with the mentioned partition from the HW document (60% training and 40% testing)

The plots will show after some time



About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages