This is an early class project of mine from university. The project builds a decision tree to make predictions on a given CSV dataset.
Being that this project is for learning purposes, it is less than perfect. It's been a while since I executed this script and unfortunately, it suffers infinite recursion that I do not recall being present when I presented the project. This bug causes a stack overflow error. You can try running the script, but for now, it's better to just examine the code to see how the decision tree is built and executed. Once I have some time, I will update this project to be more efficient and to remove the bugs.
Using a terminal,
-
Download the project into a directory of your choice
git clone https://github.com/JeffMII/How-To-Get-Good.git
-
Open the cloned project's root directory and create an input subdirectory:
mkdir input
-
Download the dataset into the subdirectory (or use your own)
-
Back inside the project's root directory, run the python script
python3 how-to-get-good.py
-
Follow the prompts in the terminal.