Skip to main content
ML Quest
Python Idle

Your team lead drops a challenge on your desk: "A straight line can't capture every relationship. But how much curve is too much?" Using synthetic data, you'll fit a linear model, a sensible quadratic model, and an absurdly high-degree polynomial. Watch what happens when a model memorizes noise instead of learning the signal — this is overfitting, and recognizing it is one of the most important skills in ML.

~20 minscenario
Loading Python runtime...
Goals: 4 tests
should compute a linear regression score
polynomial degree-2 should outperform linear
should compute a degree-15 polynomial score
Python loading...