Imagine fitting a curve to a handful of noisy data points. Use a straight line and you'll miss the real shape — the line is too rigid, and it's wrong in the same systematic way no matter what data you feed it. That stubborn, built-in error is called bias.
Now swing the other way. Use a wildly wiggly curve that threads through every point exactly. On the data you trained on, it looks perfect. But it has memorized the random noise, not the signal — and on fresh data it lurches all over the place. That jumpiness, the way the model changes drastically with each new sample, is called variance.
Here is the catch that defines machine learning: you cannot drive both to zero at once. Make the model simpler and bias rises; make it more complex and variance rises. The whole game is finding the sweet spot in between — and that tug-of-war is the bias-variance tradeoff.
Comments
Loading comments...