whatisgithub

What is ml-foundations?

jonkrohn/ml-foundations — explained in plain English

Analysis updated 2026-06-26

4,710Jupyter NotebookAudience · researcherComplexity · 1/5Setup · easy

In one sentence

A free curriculum of Jupyter notebooks and videos teaching the math behind machine learning, linear algebra, calculus, probability, and algorithms from scratch.

Mindmap

mindmap
  root((ml-foundations))
    What it does
      Math for ML curriculum
      Interactive notebooks
      Free video content
    Topics covered
      Linear algebra
      Calculus
      Probability
      Algorithms
    How to access
      Google Colab
      YouTube free
      Udemy paid
    Who uses it
      ML beginners
      Career changers
      Self-learners
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Work through the linear algebra and calculus behind machine learning before starting a deep learning course.

USE CASE 2

Run the interactive Jupyter notebooks in Google Colab for free without installing anything locally.

USE CASE 3

Use the curriculum as a structured self-study plan to fill math gaps before reading ML research papers.

What is it built with?

PythonJupyter Notebook

How does it compare?

jonkrohn/ml-foundationsremitchell/python-scrapingtensorflow/lucid
Stars4,7104,7084,705
LanguageJupyter NotebookJupyter NotebookJupyter Notebook
Setup difficultyeasymoderateeasy
Complexity1/52/53/5
Audienceresearcherdeveloperresearcher

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

So what is it?

This repository holds the code and notebooks for Jon Krohn's Machine Learning Foundations curriculum, a structured series covering the math and computer science topics that sit underneath modern machine learning. The goal is to give learners a grounded understanding of why machine learning algorithms work, not just how to run them through a library. The curriculum is split into eight subjects across four areas. The first two cover linear algebra, including matrix operations. The next two cover calculus, including partial derivatives. Subjects five and six address probability and statistics. The final two cover algorithms, data structures, and optimization. Each subject builds on the previous ones, though the four main areas are independent enough that a learner with existing knowledge in one area can skip ahead. All content is delivered through Jupyter notebooks, which are interactive documents that mix runnable code with text and output. The notebooks are designed to run in Google Colab, a free browser-based environment, so no local setup is required. The material is also available as video courses on YouTube (free), O'Reilly, and Udemy, or as recordings from the Open Data Science Conference. A book based on the curriculum is planned but not yet published. The README explains the motivation with a metaphor: using machine learning tools through their high-level interfaces is the upper floor, but the foundational subjects are what the house is built on. Without them, moving into specialized areas like deep learning or computer vision, where details often exist only in academic papers, becomes harder. The curriculum was originally taught as live online sessions in 2020 and 2021 and is now freely accessible via YouTube. Paid options on Udemy and O'Reilly include exercise solutions and certificates that the free version does not provide.

Copy-paste prompts

Prompt 1
I'm starting the ml-foundations curriculum. Which notebook should I open first if I know Python but am weak on linear algebra?
Prompt 2
Open the ml-foundations calculus notebook in Google Colab and walk me through the partial derivatives section with extra examples.
Prompt 3
I finished the linear algebra section of ml-foundations. What should I study next to be ready for a deep learning course?
Prompt 4
Explain the difference between the free YouTube version and the paid Udemy version of Jon Krohn's ML Foundations curriculum.

Frequently asked questions

What is ml-foundations?

A free curriculum of Jupyter notebooks and videos teaching the math behind machine learning, linear algebra, calculus, probability, and algorithms from scratch.

What language is ml-foundations written in?

Mainly Jupyter Notebook. The stack also includes Python, Jupyter Notebook.

How hard is ml-foundations to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is ml-foundations for?

Mainly researcher.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.