CS182: Introduction to Machine Learning

Course Descriptions


Machine learning (ML) is the science of making computer artifacts improve their performance without requiring humans to program their behavior explicitly. Machine learning has accomplished successes in a wide variety of challenging applications, ranging from computational molecular biology to computer vision to social web analysis.

CS182 Introduction to Machine Learning is an undergraduate-level introductory course in machine learning. It is not only suitable for students who want to apply principled machine learning techniques competently to their application-oriented research areas, but is also suitable for students pursuing or planning to pursue research in machine learning or other related areas that focus on model and algorithm development.

(Developed based on the course materials by Ethem Alpaydin.)


  1. Piazza: https://piazza.com/shanghaitech.edu.cn/fall2022/cs182

  2. Gradescope: https://www.gradescope.com/courses/438014


  1. Compulsory: Linear/Matrix Algebra, Mathematical Analysis or Advanced Calculus, Probability and Statistics, Programming.

  2. Recommended Postrequisites: Matrix Analysis and Computations, Convex Optimization, Machine Learning.

Textbooks and Optional References


  1. Ethem Alpaydin, Introduction to Machine Learning (4th Edition), The MIT Press, 2020.


  1. Richard O. Duda, Peter E. Hart, and David G. Stork, Pattern Classification (2nd Edition), Wiley, 2000.

  2. Christopher Bishop, Pattern Recognition and Machine Learning, Springer, 2006.

  3. Shai Shalev-Shwartz and Shai Ben-David, Understanding Machine Learning: From Theory to Algorithms, Cambridge University Press, 2014.

  4. Mehryar Mohri, Afshin Rostamizadeh, and Ameet Talwalkar, Foundations of Machine Learning (2nd Edition), MIT Press, 2018.

Schedule (Subject to Change)


  1. Topic 0: Overview

  2. Topic 1: ML Introduction

  3. Topic 2: Mathematical Foundations of ML (Linear Algebra, Probability Theory, Optimization Theory, etc.)

  4. Topic 3: Bayesian Decision Theory

  5. Topic 4: Parameter Estimation for Generative Models

  6. Topic 5: Linear Discrimination Models

  7. Topic 6: Multilayer Perceptrons

  8. Topic 7: Support Vector Machines

  9. Topic 8: Dimensionality Reduction

  10. Topic 9: Clustering and Mixture Models

  11. Topic 10: Nonparametric Methods

  12. Topic 11: Deep Learning Models

  13. Topic 12: Ensemble Learning

  14. Topic 13: Model Assessment and Selection

  15. Topic 14: Review

Note: All course materials are available on Piazza.com.


30% assignments, 40% final exam, 30% final project.

Academic Integrity Policy

Group study and collaboration on problem sets are encouraged, as working together is a great way to understand new materials. Students are free to discuss the homework problems with anyone under the following conditions:

  • Students must write down their own solutions. Plagiarism is never allowed. Similar answers, MATLAB codes, etc., found in HWs will invite you into suspected plagiarism investigation.

  • Students must list the names of their collaborators (i.e., anyone with whom the assignment was discussed).

  • Students can not use old solution sets from other classes under any circumstances, unless the instructor grants special permission.

Students are encouraged to read the ShanghaiTech Policy on Academic Integrity.