Home/Stanford Online/CS229: Machine Learning
Stanford University · on Stanford Online

CS229: Machine Learning

4.9(11,000)·2M enrolled
Advanced 55 hours English None CertificateFREE
Editor's Pick
The academic original behind Ng's Coursera courses — full derivations, proofs, and the ML theory behind the applications.

About this course

CS229 is Andrew Ng's graduate-level Stanford ML course — the academic original that preceded his Coursera courses and goes significantly deeper into the mathematical foundations. Where the Coursera ML Specialization builds intuition and implements in Python, CS229 works through full probabilistic derivations and proofs: maximum likelihood estimation for supervised learning, EM algorithm for unsupervised learning, support vector machines and kernels, principal component analysis, reinforcement learning with MDPs and Q-learning, and the theoretical foundations of learning guarantees.

The 2018 lecture recordings by Andrew Ng are freely available and widely considered among the most comprehensive introductions to ML theory available anywhere. For learners who want to read ML papers, work in research, or understand why ML methods work rather than just how to apply them, CS229 is the reference.

What you'll learn

Derive supervised learning algorithms from probabilistic first principles
Understand and apply the EM algorithm for unsupervised learning
Work with support vector machines and kernel methods mathematically
Apply reinforcement learning with MDPs and Q-learning
Understand PAC learning and generalization bounds

This course includes

55h
On-demand video
Yes
Mobile access
English
Language
Comparison · LBS

Compare alternatives for CS229: Machine Learning

Same topic, different options. We surface the trade-offs others hide so you can pick the course that actually fits your time, budget, and goals.
Stanford Online4.9(11,000)
CS229: Machine Learning
Price
Free
Free lecture materials available online
Duration
55 hrs
Level
Advanced
Certificate
MIT OpenCourseWare4.9(15,000)
Linear Algebra (18.06)
Price
Free
Completely free, openly licensed — no certificate
Duration
34 hrs
Level
Intermediate
Certificate
Stanford Online4.9(9,000)
CS231n: Deep Learning for Computer Vision
Price
Free
Free lecture materials; some versions paid
Duration
50 hrs
Level
Advanced
Certificate
Stanford Online4.9(7,000)
CS224n: Natural Language Processing with Deep Learning
Price
Free
Free lecture materials; some versions paid
Duration
50 hrs
Level
Advanced
Certificate
Prices & availability can change — confirm on the provider's site. We're not affiliated with any single provider.

Instructor

AN
Andrew Ng
Stanford Online instructor
2M+ learners8 courses4.9 instructor rating

Taught by Andrew Ng, Stanford Professor and founder of DeepLearning.AI, in the graduate-level version that preceded his Coursera courses.

Requirements

  • Strong linear algebra and probability; prior ML exposure strongly recommended

Who this course is for

  • ML practitioners who want the mathematical depth behind their applied work
  • Researchers and engineers who need to read ML papers
  • Learners who completed Andrew Ng's Coursera Specialization and want the graduate version

About this provider

SO
Stanford Online
Stanford University's online learning platform offering free and paid courses from Stanford faculty across AI, ML, medicine, and computer science.
Visit Stanford Online

Frequently asked questions

The Coursera version is designed for accessibility — it builds intuition and implements in Python without full mathematical proofs. CS229 is the graduate course with complete derivations, proofs, and theoretical depth. Both are taught by Andrew Ng.
The lecture recordings and notes are freely available on Stanford Online and YouTube; no certificate is offered.
Free
to audit
Enroll now