This project was a part of school assignment though I took liberty after finishing that course to tweak my code a bit.
Now in a public repository for demostration purposes.
CSV data from here:
Watched this tutorial:
The goal was to implement a Decision Tree Classifier from scratch.
As I debug the program, I added a DEBUG mode so my program doesn't print a chart/lots of info everytime I tweak a bit of the parameters and run the code over and over again.
Toggle on (1) or off (0) at your conveniences.
Download numpy, pandas, and sklearn if you have not already.
Run via
python3 decisiontree_wine.py