This repo records my answer to the problem sets of CS229 Spring 2020. Only the coding part is presented here. Please refer to this post for the questions and the theory part.
- Codes are under the
src
files for each problem set.
E.g. in PS1, question 1, (b), the question reffers to src/linearclass/logreg.py
. So the answers can be found at
terryli710/CS229/ps1/src/linearclass/logreg.py
-
The
tex
files contain the LaTeX templates for problem sets -
readme.md
files inside eachps
folder are instructions regarding environment setting and submission issues created by teaching staffs, which you can ignore.
These are all my answers, thus are not perfect. If you spot any mistakes, you can either raise an issue or email me to discuss with me.