Stanford CS229 — Coursera

Machine Learning

Andrew Ng

11 Weeks · 18 Lectures · 10 Simulators · Press V for Commentary

Weekly Materials

Work through each week at your own pace. Click any resource to open the PDF reader.

Week 1

Introduction & Linear Regression

Introduction to ML, model representation, cost function, gradient descent. Lectures 1–3.

📖 Lectures
📄 Notes
⚠ Errata
Week 2

Multivariate Linear Regression

Multiple features, gradient descent in practice, normal equation. Lectures 4–5. Exercise 1.

📖 Lectures
📄 Notes
⚠ Errata
Week 3

Logistic Regression & Regularization

Classification, logistic regression, regularization. Lectures 6–7. Exercise 2.

📖 Lectures
📄 Notes
⚠ Errata
Week 4

Neural Networks: Representation

Non-linear hypotheses, neurons and the brain, neural network model. Lecture 8. Exercise 3.

📖 Lectures
📄 Notes
⚠ Errata
Week 5

Neural Networks: Learning

Cost function, backpropagation, gradient checking. Lecture 9. Exercise 4.

📖 Lectures
📄 Notes
⚠ Errata
Week 6

Advice for Applying ML

Evaluating hypotheses, bias vs variance, learning curves. Lectures 10–11. Exercise 5.

📖 Lectures
📄 Notes
⚠ Errata
Week 7

Support Vector Machines

Large margin classification, kernels, SVMs in practice. Lecture 12. Exercise 6.

📖 Lectures
📄 Notes
⚠ Errata
Week 8

Unsupervised Learning

Clustering, K-means, dimensionality reduction, PCA. Exercise 7.

📄 Notes
⚠ Errata
Week 10

Large Scale Machine Learning

Stochastic gradient descent, map-reduce. Lecture 17.

📖 Lectures
📄 Notes
Week 11

Application Example: Photo OCR

Photo OCR pipeline, sliding windows, artificial data. Lecture 18.

📖 Lectures

Interactive Simulators

Hands-on visual tools to build intuition for key ML concepts. Click, drag, and experiment.

Extra Resources

Supplementary materials from Stanford CS229 and beyond.