The codes and slides are used in the Machine Learning course for the first year graduate student. They are partly based on the course with the same name presented by Andrew Ng at Stanford University and the original can be found at https://www.coursera.org/course/ml. All materials without annotations or marks are copyrighted by their copyright owner. The slides are made with MS Powerpoint 2013 and the codes are tested in Matlab 2013b and Octave 3.2.4. Different version might cause incompatibilities.