Some cleaned-up versions of the ML algorithms I've written for Caltech's Learn From Data MOOC