AI & ML Quest 🤖 AI agents 0 XP
🎬
QUEST CINEMA · VIDEO TUTORIALS

Video 1 · 74-second video + about 10 minutes of practice

The Goldilocks Problem: how does an AI know when to stop learning?

Goal: explain underfitting, overfitting and the bias-variance trade-off, and diagnose a model from its scores.

🎥 How AI balances the bias-variance trade-off · 1:14

🎯 Mission briefing

  • Watch once all the way through. Just enjoy it.
  • Walk through the scenes below and replay each idea at your own speed.
  • Play the two games, then clear the checkpoint for +50 XP.

Video won’t play? Open in Google Drive ↗

🥣 Too cold

Too simple. Underfitting, high bias.

🔥 Too hot

Too complex. Overfitting, high variance.

✨ Just right

Balanced. Learns the pattern, ignores the noise.

Scene by scene

Tap a scene to replay the idea. In each scene, press “Bring in new data” to test the model on points it has never seen. The dashed red lines show how wrong each guess is.

BiasError from a model that is too simple. It misses the real pattern.
VarianceError from a model that is too sensitive. It changes wildly with the training data.
NoiseRandom ups and downs in data that no model should learn.
GeneralisationDoing well on brand-new data. The real goal of training.
🩺 Game: model doctor
Read the symptoms. What is wrong with this model?
📏

Cure for underfitting

Make the model more powerful: add useful features, use a more complex model, train longer.

🌀

Cure for overfitting

Make it calmer: get more training data, use a simpler model, regularisation, dropout, or stop training early.

💊 Game: prescribe the cure
Which way should you push the model?
Want to feel it with your hands? Open the complexity slider in Level 3. Watch the training error keep falling while the new-data error climbs back up. That U-shape is the trade-off from the video.
📝 Read the full video script

0:00How does an AI know exactly when to stop learning? It comes down to the bias-variance trade-off.

0:07Because the biggest challenge isn’t mastering the data it already studied. It’s predicting brand-new data.

0:13Imagine we give an AI this simple scatterplot and ask it to draw a predictive line.

0:19If it draws a basic, rigid straight line, it completely misses the obvious pattern. This oversimplified failure is called underfitting. It creates high bias.

0:30To fix this, you might force the model to draw a wild, squiggly line, one that hits every single training point perfectly. But that perfect fit is a trap. The model just memorised random noise.

0:42When you introduce new data, the accuracy drops off a cliff. This is called overfitting, which creates high variance.

0:49The optimal solution is the bias-variance trade-off. The model draws a balanced, smooth curve that captures the true features of the data, whilst ignoring the noisy outliers.

1:00And that scatterplot from the start? Because it found that optimal curve, the model can now successfully predict brand-new data points it has never even seen before.

🏁 Checkpoint: pause and predict

At 0:19 the AI draws a rigid straight line through a curved pattern. This is…

Why is the squiggly line that hits every training point “a trap”?

According to the video, the real test of a model is…

🎉 Video tutorial cleared! +50 XP. Goldilocks would be proud.

What next?

Your XP and badges carry over to the main quest.

Back to the quest 🤖 AI agents