This assignment was built using Python 3.7.2 and on Ubuntu, which would be the recomended environment to run the code.
I'll be using ONE late day for this assignment.
The required dependancies are included in the deps
file. to install use pip install -r deps
Each question as assigned a folder. /question_1
consists of just one file. Every other folder consists of a /train
, /reports
and in some cases< br >
a /test
folder. These contain the training, generated reports and the test data respectively. Each folder has one file which contain a main
function. < br >
This is the driver program. List of driver programs for each folder:
- Question_2:
features.py
- question_3:
perplexity.py
- question_4:
counts.py
The reports/text answers should be available in the question_*/reports
folder.
To run each of the driver files use:
python filename.py
Note: It is imperative that you use Python 3 to run these files, and will result in syntax should you run them using Python2.
pip install -r deps