The dataset is titanic.csv
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