Lecture notes for Cogs 109, an undergraduate machine learning class for cognitive scientists, taught at the University of California, San Diego.