Fundamentals of Machine Learning

Learn how models predict, measure error, and improve

See how a model turns inputs into a prediction, measures how wrong it was, and adjusts its numbers to do better. Small worked examples with controls let you change the numbers and watch what happens.

Start lesson 1 →

The course, lesson by lesson

  1. Lesson 1

    How does a model turn a ticket into a prediction?

    Open lesson →
  2. Lesson 2

    How wrong was the prediction?

    Open lesson →
  3. Lesson 3

    Which way should a weight move?

    Open lesson →
  4. Lesson 4

    Take a step, then calculate again

    Open lesson →
  5. Lesson 5

    How can one model handle eight requests at once?

    Open lesson →
  6. Lesson 6

    How do scores become probabilities?

    Open lesson →

Find your way in

Six ways to learn AI · Karpathy study companion

ML reference slides · Python examples