Menu

Understanding Generalization

Understanding Generalization

Generalization refers to a model's ability to make accurate predictions on new data.

A good machine learning model should:

  • Learn from training data
  • Perform well on testing data
  • Maintain consistent accuracy

Exam Analogy

Imagine preparing for an exam.

Training data is similar to practice questions.

Testing data is similar to the actual exam.

If a student performs well on both, it indicates genuine understanding rather than memorization.

Machine learning models behave in the same way.