What a model learns
What it is
A model is a function learned from examples rather than written by hand:
- you show it many past cases, each with its inputs and the right answer;
- training adjusts the model's internal numbers (its parameters) until its answers on those cases are as close to right as possible;
- afterwards it can give an answer for a new case it has never seen.
Why it matters
This is why data quality matters more than anything else.
- The model can only learn patterns that are in its examples.
- If the examples are biased, out of date or wrongly labelled, the model learns that faithfully.
- 'Garbage in, garbage out' is the oldest rule in the field for good reason.
In the real world: Kirana Kart's delivery-time model learns from a year of past orders, each with its distance, store, time of day and the minutes it really took.
Imagining the model 'understands' the task. It finds whatever pattern best predicts the labels it was given, including accidental ones, such as a hospital's scanner model that learned to read the hospital's name printed on the image.