{"response":"{\"What is the bias-variance trade-off?

The bias-variance trade-off is about how well a smart guess can learn from examples and still work for new ones.

Imagine you're trying to guess what your friend's favorite ice cream flavor is. If you only ask them once, and they say chocolate, but you think maybe they just had a bad day, that’s like bias, you’re sticking with one answer even if it might not be right. You’re being too sure.

Now imagine you ask your friend every time you see them, and sometimes they say chocolate, sometimes vanilla, sometimes strawberry, you're getting all over the place. That's like variance, you’re changing your guess a lot based on small changes in the examples.

If you want to be really good at guessing, you need to find the right balance between being too sure (bias) and changing your mind too much (variance). It’s like finding just the right number of questions to ask before making up your mind, not too few, not too many.

Take the quiz →

Examples

  1. A student guesses answers on a test instead of studying, and sometimes gets all right or all wrong.
  2. A baker adds too much sugar to a cake recipe, making it either super sweet or inedible.
  3. A child draws a cat with random lines but sometimes it looks like a cat.

Ask a question

See also

Discussion

Recent activity