CS229 Machine Learning at Stanford has been an inspiring course that built the basics of my machine learning knowledge base. I would like to record my answers to all the problem sets in Spring 2020 quarter. My answers have two parts:

  1. Theory questions: answers were hand written, presented in pdf format below. Includes the questions in problem sets;
  2. Coding questions: written in python and will be included in my GitHub repo.

The answers are not perfect and may contain mistakes, if any readers of this spot any mistakes, feel free to contact and discuss with me either by posting an issue in my GitHub repo or emailing me.

The followings are the answers.

Theory Questions

Problem Set 1

Problem Set 2

Problem Set 3

Problem Set 4

Coding Questions

Problem Set 1

Problem Set 2

Problem Set 3

Problem Set 4