Where Data Comes From
Two million rows. Iris does some skeptical arithmetic — at one row a minute, that's years of typing — and asks who entered it all. The answer: nobody. The app wrote almost every row itself. Each order already produces timestamps, an address, a restaurant, a courier's GPS trace, and recording them is simply the product doing its job.
That is the first and largest source of training data: records that pile up as a side effect of software working. But records alone don't make the table from Topic 06 — that table needed its answer column, and answers are not always free. This page follows the data back to its sources, and the labels back to theirs, because the two have very different price tags.
Products Record Themselves
Software keeps logs — running records of what happened, written automatically as the program works: this order was placed at 19:02, this courier's phone reported these coordinates, this payment was for this amount. Nobody creates logs for machine learning; they exist for receipts, debugging, and dashboards. The data team's craft begins with noticing that yesterday's operational records can answer today's prediction question.
A shop's security camera makes the same move. It was installed to catch shoplifters — yet the footage can also tell you when queues form, which shelves people linger at, how weather changes foot traffic. Nothing about the camera changed; someone asked the recordings a new question. Most of what gets called "big data" is exactly this: records collected for one purpose, reread for another.
Labels Reality Hands You
For delivery-time prediction, the label problem solves itself. The courier eventually arrives, the customer taps "received", and the true answer — 41 minutes — lands in the log about 40 minutes after the question was asked. Every completed order labels itself. The best labels in the business are the ones the world writes for you.
Plateful has more of these than it first appears. Did the customer order again within a month? Wait a month and look. Was the payment reversed as fraudulent? The bank's chargeback arrives on its own. Free labels share a profile: abundant, cheap, and delivered on reality's schedule, not yours — you can't hurry a month of waiting.
Labels Humans Must Create
Now take fake-review detection, the task from Chapter 1 with no writable rule. No log anywhere says "this review is fake." Reality never records that answer, because the answer is a judgment. Someone has to read the review, weigh it, and mark it — and then do that again several thousand times, or there is no answer column and no training.
That work is called labeling (or annotation): people creating the answers that reality didn't record. It is real, paid, skilled work — often the single most expensive line in an ML project's budget — and the labelers' judgment quality becomes the model's ceiling, since their marks are what it learns to imitate. Chapter 9 returns to labeling at a scale that may surprise you: armies of it sit behind the chatbots everyone uses.
Public and Bought Data
Not everything has to come from your own product. There are open datasets — collections published for anyone to use, from weather histories to millions of labeled photos assembled by researchers. There is data for sale, licensed from companies whose product produces it. And there are partnerships: Plateful could trade with a mapping company — traffic data in, delivery statistics out.
Every outside source drags in a quiet question: were we allowed to use this — by law, by the license, by the people the data describes? Chapter 10 gives that question the space it deserves. For now, carry the practical summary of this page: when someone proposes an ML feature, the fate of the whole project usually hides inside one innocent-sounding question — where would the labels come from?
- "Someone manually enters the training data." Almost all of it is automatic logs — the app recording itself working. The manual work, where it exists, goes into labeling: creating answers, not typing rows.
- "The labels are always in the data already." Only when reality records the answer on its own — delivery times, chargebacks. Judgments like "this review is fake" have to be created by paid humans, one case at a time.
- "Recording more is automatically worth more." Only records relevant to a question ever help. Hoarding everything creates storage cost, privacy risk, and legal exposure — Chapter 10 counts that bill.
- "Where would the labels come from?" is the make-or-break question for any ML feature you will ever propose or evaluate — whole projects live or die inside it.
- You now know about a job most people have never heard of — data labeling — that quietly powers the models you use daily, and that returns at enormous scale behind Chapter 9's chatbots.
Knowledge Check
Where did most of Plateful's two million training rows come from?
- Data-entry staff typing in past orders
- The app's own records of orders being placed and delivered
- Customers writing up their orders in reviews
- A public dataset of food deliveries downloaded by the team
Why do delivery-time labels cost Plateful nothing, while fake-review labels cost real money?
- Reality records delivery time by itself; whether a review is fake is a human judgment, case by case
- Reviews are longer than delivery records, so they take longer to process
- Delivery-time prediction doesn't need labels at all
- Review text must be converted into numbers, and conversion is expensive
What is labeling (also called annotation)?
- Giving the table's columns clear, descriptive names
- People creating answers reality didn't record — marking examples one by one
- The model attaching predictions to new cases
- Software recording timestamps on every event
A colleague proposes an ML feature that flags rude support calls. What's the first data question to ask?
- Whether sound can be turned into numbers at all
- Whether the company has enough disk space for the recordings
- Which model architecture would suit audio best
- Who will hear thousands of calls and mark which were rude
You got correct