← Back to concept explainers

Concept Fable

Supervised Learning

Conclusion first:The model is trained on labeled data: each sample has an input and its corresponding correct answer, and the model learns to predict the label from the input.

Supervised Learning · Machine Learning

Read the story first. There is no rush to give a definition here; let the question grow on its own first.

Fable

The answer behind each wooden tag

An apothecary apprentice had to learn to identify herbs. The master laid out a hundred wooden tablets on the table, each with a herb sample pasted on the front and the correct name written on the back: mint, mugwort, perilla, houttuynia.

The apprentice first guesses from the front, then flips to the back for the answer. When he guesses wrong, the master points out where he missed leaf shape, scent, fuzz, and color. After repeated practice, he doesn't just memorize this wooden tag—he learns to infer the name from the features.

One day the master mixed in a few new samples the apprentice had never seen before. If the apprentice had only memorized the positions of the old wooden signs, he would fail; if he had truly learned the patterns of leaf shape and scent, he could guess close.

The master also split the wooden tablets into two piles. One pile was for practice, and the other was normally not allowed to be seen, for the final exam. Because if all the tablets were used for practice, the apprentice might only memorize the answers, and no one would know whether he could recognize a new herb when he encountered one.

Later the pharmacy discovered that the answers on the back of the wooden tags could also be wrong. Wrong labels would teach apprentices incorrectly. So the master handed difficult samples to senior pharmacists for review, preferring fewer answers in exchange for more reliable ones.

Later, an even trickier job came along. On the surface it looked like just an old problem magnified, but in reality it forced out all the gaps hidden in the process: who takes over first, who can make changes, and how to return to the previous step when something goes wrong. Places that used to get by on acquaintances' tacit understanding now all had to be spelled out clearly.

The person in charge no longer urged everyone to be more careful, but walked through the site again. He had people record every handover, every failure, and every remedy—which places were merely slow, which places would harm the results, and which places, once wrong, would be hard to recover.

After the new rules were rolled out, the first few days were not smooth. Some complained about the extra check, and some felt their old experience was being offended. But when the next anomaly appeared, everyone could for the first time follow the traces to find where the problem occurred, instead of gathering around the result and guessing at each other. This approach did not make the site magical; it simply made responsibility, boundaries, and the way back clear. What could be automated continued to be automated, places requiring human judgment stopped for confirmation, and truly dangerous actions were no longer released together with ordinary actions.

Reveal

This story is about: supervised learning

The model is trained on labeled data: each sample has an input and its corresponding correct answer, and the model learns to predict the label from the input.

Supervised learning is often used for classification, regression, and prediction. Key elements include inputs, labels, training sets, validation/test sets, loss functions, and label quality. Inaccurate labels, improper data splitting, or choosing the wrong objective can all cause the model to learn in the wrong direction.

Metaphor mapping

  • Herb sample front side: input data
  • Answer on the back of the wooden sign: labels
  • Practice wooden tag: training set
  • The exam board you are not allowed to look at: validation set or test set
  • Old pharmacist's review: label quality control

Andy Ren Xu's judgment

Whether supervised learning can be deployed often depends on whether the enterprise has high-quality labels. Without reliable answers, the model is just learning errors at scale.

labelsclassificationregressionloss functiontraining set
京ICP备2026014272号