Skip to content

CS 229 Machine Learning cheatsheets

Free PDF cheatsheets summarizing Stanford's CS 229 machine learning course.afshinea/stanford-cs-229-machine-learning

Stars
20.4k
Forks
4.3k
Licence
MIT
Language
—
Last update
6.5 years ago
Type
Learning resource

No commits in over a year — check for forks or alternatives before adopting.

What it is

This repository collects a set of short PDF cheatsheets covering the main topics of Stanford's CS 229 Machine Learning course. It includes cheatsheets on supervised learning, unsupervised learning, deep learning, and tips and tricks for training models, plus refreshers on probability, statistics, algebra and calculus. People use it as a condensed reference to review key concepts alongside or after the course.

  • Review supervised and unsupervised learning concepts before an exam
  • Look up tips for training and debugging a model
  • Brush up on probability and statistics or algebra and calculus prerequisites
  • Download a single combined super cheatsheet for offline reference

Great for

  • Students taking or reviewing CS 229 or a similar machine learning course
  • Learners who want a quick reference of core ML concepts
  • Engineers refreshing probability, statistics, or linear algebra basics
  • Anyone who wants a compact summary they can read on any device

Not ideal for

  • People looking for runnable code or software to install, since the repo contains only PDFs and README content
  • Readers wanting in-depth derivations or full lecture material, because cheatsheets are summaries
  • Those needing content updated after the last push date of May 2020
Step-by-step guide: how to use CS 229 Machine Learning cheatsheetsInstall, first run, examples, tips and FAQs

How to get it

  1. 1

    Read it online

    Clone the repository

    git clone https://github.com/afshinea/stanford-cs-229-machine-learning
  2. 2

    Run it

    • Open the repository on GitHub or clone it locally.
    • Go to the en folder for English PDFs.
    • Open a cheatsheet such as cheatsheet-supervised-learning.pdf.
    • Optionally read the same material on the project website.
  3. 3

    Get the most out of it

    • Start with the refreshers if you are missing the math prerequisites.
    • Use the super cheatsheet as a single offline reference.
    • Read the website version if you prefer a browser or mobile layout.
    • Check the translation links if you want the material in another language.

Downloads

Strengths

  • Concise, well-organized summaries of a full course in a few pages each
  • Available in many languages through the README's language links
  • Free and licensed under MIT

Trade-offs

  • Last push was May 2020, so content may not reflect newer ML methods
  • Summaries cannot replace the course itself or hands-on practice

How it compares

ProjectStarsTypeLevelUpdatedBest for
stanford-cs-229-machine-learning (this)20.4kLearning resourcebeginner6.5 years agoStudents taking or reviewing CS 229 or a similar machine learning course
Made-With-ML49.9kLearning resourceintermediate8 months agoSoftware engineers who want to learn how ML models get deployed and maintained
ML-From-Scratch33.3kLearning resourcebeginner3.1 years agoStudents who want to see how algorithms like regression or neural networks work internally
AI-Expert-Roadmap31.3kLearning resourcebeginner1.2 years agoBeginners who are unsure what to learn next in AI or data science
mit-deep-learning10.5kLearning resourcebeginner2.8 years agoStudents following MIT deep learning courses
applied-ml30.8kCurated listbeginner2.3 years agoEngineers planning an ML project who want to see how other companies approached a similar problem

Stats synced from GitHub. The assessment above was drafted with AI from the project's README on 2026-10-29 and may miss recent changes — check the README before relying on a command. MIT licence: free to use, modify and distribute, including commercially, as long as you keep the copyright notice.