Skip to content
DoingCamp CS

Make it comfy

Lesson style

Quick mode shows the key picture, a summary and the practice. Good for a refresher.

Theme
Font

Both fonts are designed to be easy to read. Some readers with dyslexia prefer Lexend.

Text size
Spacing
Animations

Lesson 20 of 20 · about 25 min

Boss level: gradient-descent playground

Splash Park wants a sign at the Big Drop that says how long the wait is. You have twelve days of measurements and a two-setting model. You'll train it by gradient descent, find the learning rate where training blows up, discover why, fix it with feature scaling, and then build the whole training loop in Python and check it against the exact answer. Every idea from this course meets here.

🔓 Unlock this lesson

This lesson is part of the DoingCamp Pass. Members get every lesson in every course, with all the interactive visuals, coding exercises and challenges.

In this lesson you'll learn:

  • Loss function
  • Feature scaling

Free to try in F09 Calculus for CS:

The first 3 lessons of every course are free, no account needed.