The third and fourth courseworks for the Machine Learning Practical course at the University of Edinburgh