Uploaded October 2026 | Updated December 2026, 3 hours ago
Homes near a metro station cost more, but real prices are messy. So how does a computer draw one sensible price curve through messy data, one that also works for homes it has never seen? We try three curves: one too stiff (underfitting), one too wild (overfitting), and a small neural network that gets it just right.
We try three rules on the same fictional houses: a straight line that can't bend, a wild curve that passes through every dot, and a small neural network. We see how each ReLU neuron adds a "hinge", how the hinges add up to a bent curve, and how training shapes it step by step. Then we test all three on houses kept aside, and see why a curve can only be trusted where there were examples.
In this lesson:
- Noisy dots and the hidden pattern underneath.
- Too stiff (underfitting) vs. too wild (overfitting).
- ReLU neurons as hinges that add up to a curve.
- Watching a network learn its curve.
- From a = c × d to large AI models.
- Why a model's guess far from its examples can be well off.
Try both quiz questions before the answers appear: which curve should we trust, and should we trust a prediction 60 minutes from the metro?
▶ Previous lesson: How Are Embedding Models Made? youtube.com/watch?v=VF9ilYR61AI
Chapter 8, session 2 / Lesson 28. No coding required. Lessons 14, 15, 16, 18 and 20 give useful background.
All houses and prices are made up; every curve shown was actually computed from them.
Subscribe to The Practical School for short lessons that make ideas practical.
#AIForBeginners #NeuralNetworks #Overfitting #MachineLearning #ThePracticalSchool
Homes near a metro station cost more, but real prices are messy. So how does a computer draw one sensible price curve through messy data, one that also works for homes it has never seen? We try three curves: one too stiff (underfitting), one too wild (overfitting), and a small neural network that gets it just right.
We try three rules on the same fictional houses: a straight line that can't bend, a wild curve that passes through every dot, and a small neural network. We see how each ReLU neuron adds a "hinge", how the hinges add up to a bent curve, and how training shapes it step by step. Then we test all three on houses kept aside, and see why a curve can only be trusted where there were examples.
In this lesson:
- Noisy dots and the hidden pattern underneath.
- Too stiff (underfitting) vs. too wild (overfitting).
- ReLU neurons as hinges that add up to a curve.
- Watching a network learn its curve.
- From a = c × d to large AI models.
- Why a model's guess far from its examples can be well off.
Try both quiz questions before the answers appear: which curve should we trust, and should we trust a prediction 60 minutes from the metro?
▶ Previous lesson: How Are Embedding Models Made? youtube.com/watch?v=VF9ilYR61AI
Chapter 8, session 2 / Lesson 28. No coding required. Lessons 14, 15, 16, 18 and 20 give useful background.
All houses and prices are made up; every curve shown was actually computed from them.
Subscribe to The Practical School for short lessons that make ideas practical.
#AIForBeginners #NeuralNetworks #Overfitting #MachineLearning #ThePracticalSchool










