The code included here was used to produce figures used in the lecture slides and notes for the Machine Learning course at the University of Oxford, Michaelmas Term 2017. The purpose of the code is simply to produce illustrative plots and introduce basic concepts. The course website is:
http://www.cs.ox.ac.uk/teaching/materials17-18/ml/
The code is hacky, please use caution!