Interactive CS229 is a set of Marimo Notebooks that let you explore implementations of the theory & models covered in Stanford's flagship CS229 course. All implementations are written using just NumPy.
Warning
This repo is in heavy development. I am to also provide derivations and insights that I deem important that don't exist in the official lecture notes.
To run a model locally, simply call:
uv run marimo run notebooks/<notebook_name>.pyThis will open it locally in your browser.
| Model | Task | Notebook |
|---|---|---|
| Linear Regression | Regression | Open in Google Colab |
| Logistic Regression | Binary Classification | Open in Google Colab |
| Locally Weighted Regression | Regression | Open in Google Colab |
| Softmax Regression | Multi-class Classification | Open in Google Colab |