Data Sufficiency for Machine Learning
Phrasing and data checking belong together. If you phrase the problem before confirming that the data can answer it, you may build a clean-looking problem statement around information you never actually hold.
A Project That Started With the Wrong First Step
Imagine a team that has a large store of customer records and a strong wish to use machine learning. They gather the data, choose a model, and start training. Weeks later they have a model with impressive numbers, yet nobody can say whether it helps the business. The model may be technically sound and still answer a question nobody asked, or answer the right question with data that does not match the real situation. This article traces the early decisions that prevent that outcome.
What do you think happens?
Before any model is trained, which should a team settle first: the model type, or what question the project must answer and whether the available data can answer it?
Reveal answer
What question must be answered, and whether the available data can answer it.
The source material states that a machine learning project should begin by asking what question it must answer and whether the available data can answer it. A question the data cannot address will not become a good machine learning problem, no matter how it is phrased.
Working Through the Planning Checklist
Before a model is trained, a machine learning project needs answers to a set of planning questions. The source gathers these into six key questions. Together they cover the question you are trying to answer, the data you have, how the problem is phrased, the features you extract, how success is measured, and how the solution fits into a larger product.
- 1What you are trying to answer, and whether the collected data can answer it
- 2How that question should be phrased as a machine learning problem
- 3Whether enough data has been collected to represent the problem
- 4Which features were extracted, and whether they will enable the right predictions
- 5How success will be measured in your application
- 6How the machine learning solution will interact with other parts of the research or business product
The source presents these as a checklist that you work through in order. Each question exposes a different way a project can fail. A model can be technically sound and still answer the wrong question, or answer the right question using data that does not represent the situation. The diagram below shows the go or no-go logic that the first questions impose: a project only moves forward when the question, the data, and the phrasing hold up, and the later checks are passed before training begins.
Phrasing a Practical Question as a Problem
The first question sets up the second. Before you can phrase anything, you need to know what you are trying to answer, and then ask whether the data you collected can answer that question at all. Formulation therefore depends on two things at once: a clear statement of the goal and an honest look at the data. A question the available data cannot address will not become a good machine learning problem, however neatly it is worded.
Phrasing is the act of restating a practical goal so that it names what the model receives and what it must produce. Once the goal is clear and the data has been checked against it, the practical question can be rewritten in terms of the inputs available, the output the business wants, and the prediction that connects them. The source does not give a fixed recipe for this rewriting, so the important habit is to make each part explicit before any training starts.
Phrasing and data checking belong together. If you phrase the problem before confirming that the data can answer it, you may build a clean-looking problem statement around information you never actually hold.
Sufficiency Means Representation, Not Size
The third question asks whether you have collected enough data to represent the problem you want to solve. The key word is represent. The source does not ask whether you have a large amount of data in general. It asks whether the data you hold stands in for the real problem. A dataset can be big and still fail to represent the situation it is meant to describe.
Sufficiency is judged against the problem, so the same dataset can be enough for one question and not enough for another. When you answer the sufficiency question, compare what the data covers with what the problem requires, and be honest about gaps before you commit to training. The table below contrasts the two ways a team might judge its data.
| Judging by size | Judging by representation |
|---|---|
| Asks how many records exist | Asks whether the records stand in for the real problem |
| Can be satisfied by a large but narrow collection | Requires coverage of the situations the model will actually face |
| Ignores which cases are missing | Makes gaps explicit before training begins |
| Can make a big dataset look sufficient | Can show that a big dataset is still insufficient |
Two ways to judge whether collected data is enough
Checking Features Against Predictions
The fourth question concerns features. Features are the values extracted from raw data that a model actually uses. The diagram below shows how raw data moves through extraction steps to become those features, and where a poor choice can enter the flow.
Two checks belong together here. First, you must be able to say what the features are. Second, you must judge whether those features actually help produce the predictions the problem needs. Extracting features that are easy to obtain but unrelated to the goal is a common way for a project to look busy without being useful. The source treats extracting the right features as the central point of this question.
Tracing a Late-Delivery Predictor Through the Checklist
Checking a Proposed Late-Delivery Project
A shipping company proposes a model that predicts whether an order will arrive late. The team has order records, warehouse timestamps, and each customer's favorite color from the sign-up form. Trace the project through the planning checklist and decide whether it can proceed to training.
- 1Question
The practical goal is to flag orders likely to arrive late so that staff can act before delivery. The team states this clearly, which is the starting point the source calls for.
- 2Can the data answer it?
Order records and warehouse timestamps bear on delivery timing, so the data plausibly addresses the question. The team records this as a yes and moves forward.
- 3Phrasing
The team restates the goal as a prediction: given the information known when an order is placed or dispatched, predict whether it will arrive late. The inputs, output, and prediction target are now explicit.
- 4Representation
The records cover a single peak season only. Late deliveries in other seasons may follow different patterns, so the data may not represent the full problem. The team lists this gap and collects more records before training.
- 5Features
Warehouse timestamps and the distance between origin and destination are relevant to timing. The favorite-color field is easy to extract but unrelated to delivery timing, so it is rejected as a feature. The team judges the features by whether they enable the right predictions.
- 6Success and product fit
Before building the model, the team defines a measure of success tied to the operational goal, and it confirms how staff will receive and act on the flags. Only then does the project move forward.
The project proceeds only after the representation gap is addressed, the irrelevant feature is removed, and success and product interaction are defined in advance. The model could be technically sound at any earlier stage and still fail these checks.
Defining Success and Product Fit
The fifth question asks how you will measure success in your application. This is a question to answer before the model is built, not after. If success is not defined in advance, it is easy to judge a result by whatever looks favorable. The source identifies the need to measure success as an important fact, and asks you to determine the measure that fits your application.
The sixth question asks how the machine learning solution will interact with other parts of your research or business product. A model rarely works alone. It receives inputs from some part of a system, and its outputs are used by another part. The source asks you to consider this interaction early, because the requirements of the surrounding product can shape the data, the features, and the way success is judged.
Mistakes Teams Make Before Training
Common mistake Treating a large dataset as sufficient
What it looks likeA team holds millions of records from one region and assumes the model will work everywhere.
Why it failsThe source asks whether the data represents the problem, not whether it is large. A big dataset can still miss the situations the model will face.
Do this insteadList what the data covers and what the problem requires, and record the gaps before training.
Common mistake Keeping features because they are easy to obtain
What it looks likeA customer's favorite color is included in a delivery-timing model because it sits in the same table.
Why it failsEasy-to-obtain features that are unrelated to the goal make a project look busy without making it useful.
Do this insteadFor each feature, state what it is and judge whether it helps produce the predictions the problem needs.
Common mistake Choosing success measures after seeing results
Why it failsJudging a result by whatever looks favorable is the risk the source warns about when success is not defined in advance.
Do this insteadDefine the measure before the model is built, and tie it to the goal.
Common mistake Ignoring how the model's outputs reach the rest of the product
Auditing a Proposed Project
A startup proposes a model that predicts which support tickets will need escalation. Its data comes from ticket text written in one language, collected over one month. The proposed features include ticket length and the agent's shoe size from the staff roster. Work through the six planning questions in order and state which question fails first, what would change, and why the shoe-size feature should be judged the way the source describes.
Hints
- Start with the question and ask whether the data can answer it before looking at anything else.
- Ask whether the ticket data stands in for all tickets the model will see, not just how many there are.
- For each feature, ask whether it enables the right predictions about escalation.
Key Takeaways
- A machine learning project should begin by asking what question it must answer and whether the available data can answer it.
- Sufficiency is about representation: the data must stand in for the real problem, and a large dataset can still fail that test.
- Features should be judged by whether they enable the right predictions, not by how easy they are to extract.
- Success should be defined before training, and the solution should be considered in terms of how it fits the wider product.