This is an archive of the code that I wrote for a Cambridge Part IA Course.
Tick 1: Simple Classifier
Tick 2: Naive Bayes Classifier
Tick 3: Statistical Laws of Language: Zipf's law and Heap's law
Tick 4: Statistical Testing
Tick 5: Cross-Validation and Evaluation Sets
Tick 6: Uncertainty and Human Agreement
Tick 7: Training the Hidden Markov Model
Tick 8: Viterbi algorithm
Python version: 3.10.12
To execute tick1.py, type:
PYTHONPATH='.' python3 exercise/tick1.py