- Must have Python 3 installed
- Files data/train.txt and data/test.txt should be present
- Directory named "data" should be present in the same directory as main.py file
- Have an output file "output.txt" present, this can also be any file you prefer
- Open Terminal and enter directory containing main.py, data directory and output.txt file
- In terminal, type in below command to display print output of the code to output.txt file
python3 main.py > output.txt
"output.txt" can also be replaced by any other txt file preferable for outputs
Or to simply view results in the terminal do command:
python3 main.py
- Open output.txt to view results