Think Build Implement Repeat
London, UK +44 7367 067226
WhatsApp FOLLOW f in X
AI & Machine Learning

Why Machine Learning Needs Less Data Than You Think, and When It Needs More

Last updated:

The myth that stops small firms starting

A lot of business owners assume machine learning is for companies with data centres. They have heard about models trained on the whole internet and conclude that their eleven years of order history is a rounding error.

It is not. The famous models needed enormous data because they learn general things, such as language or vision, from scratch. A model predicting whether one of your customers will reorder this month is learning something far narrower. For narrow problems with well-chosen inputs, a surprisingly modest dataset goes a long way.

Rough numbers, as a starting point

These are orders of magnitude from experience, not rules, and every project differs. They are useful for deciding whether a conversation is worth having.

ProblemRough starting pointWhat really matters
Yes/no prediction on business recordsA few thousand rowsSeveral hundred examples of the less common outcome
Categorising text with a pre-trained modelDozens to a few hundred examples per categoryClear, consistent category definitions
Weekly demand forecastingTwo to three years of historyEnough seasons to see repeating patterns
Anomaly detectionMonths of normal operationA clean picture of what normal looks like
Image recognition, fine-tuning a pre-trained modelHundreds to a few thousand imagesImages taken in real conditions
Image recognition from scratchVery large volumesUsually a sign you should fine-tune instead

Why less can be enough

Three things let modest data go far.

  1. Good inputs. If you give the model information that genuinely drives the outcome, it does not need millions of examples to find the relationship. A delivery time model fed distance, vehicle type and time of day learns quickly. One fed only postcode strings struggles.
  2. Simpler models. Classic methods such as decision tree ensembles work very well on tabular business data at modest sizes. Large neural networks are data-hungry and often unnecessary for spreadsheets.
  3. Pre-trained starting points. For text and images, you can start from a model that already understands language or pictures and teach it only your specific task. That is called transfer learning, and it changed the economics for small firms.

Language models go a step further. For many text tasks, such as extracting invoice fields, they work with no training examples at all, just instructions. You still need a few hundred real examples, but for testing rather than training. There is more on that route in our post on extracting data from documents.

When you genuinely need more

  • The outcome is rare. If 1 in 1,000 transactions is fraud, 10,000 rows contain ten frauds. That is nothing. You need enough rare cases, which may mean millions of rows or years of history.
  • Many factors interact. Pricing across thousands of products, regions and channels needs data covering those combinations.
  • Conditions vary a lot. A model for one warehouse may need little data. One that must generalise across forty sites with different layouts needs examples from many of them.
  • Raw images, audio or sensor streams without a suitable pre-trained model to start from.
  • High stakes and fine margins, where the last couple of points of accuracy carry most of the value and each point costs more data than the last.
The question is rarely how many rows you have. It is how many examples you have of the thing you care about, in conditions like the ones the model will face.

More data is not always better

Old data can hurt. If your customer base, prices or product range changed three years ago, the years before that may teach patterns that no longer apply. We regularly get better results by dropping the oldest data or giving it less weight.

Dirty data can hurt too. Ten thousand carefully recorded examples beat a hundred thousand where the outcome was typed in inconsistently. Doubling the volume of messy data mostly doubles the mess.

How to find out if you have enough

There is a straightforward experiment called a learning curve. Train the model on 10% of your data, then 25%, 50% and 100%, and plot the accuracy each time on held-back cases.

  • If accuracy is still climbing steeply at 100%, more data will probably help, and collecting it is worth planning
  • If it has flattened, more of the same data will not help, and better inputs or a different approach will
  • If it is poor at every size, the inputs probably do not contain the signal, and volume will not fix that

This takes a day or two and replaces a lot of guessing. We run it early on almost every machine learning project at SpiderHunts, because it answers the question clients most want answered: is it worth collecting more before we build properly.

If you really do not have enough yet

Start with rules or a pre-trained tool, and design your processes to capture the outcome from today. Twelve months of well-recorded data is often worth more than ten years of patchy records. In the meantime, look at whether the problem can be narrowed: one product line, one region, one customer segment where the data is dense. Our guide to how long a model takes to build covers how data readiness affects timelines.

Frequently asked questions

Can machine learning work with 1,000 rows of data?

Often, yes, for a simple prediction with good inputs and a reasonable number of each outcome. Expect modest accuracy and use a simple model, and run a learning curve to see whether more data would help.

Does more data always improve a model?

No. More relevant, clean data usually helps up to a point, then the gains flatten. Old data from a different business situation, or inconsistently recorded data, can make results worse.

What if the event I want to predict is rare?

You need enough examples of the rare event itself, not just many rows. Options include collecting over a longer period, pooling similar events, or starting with anomaly detection and human review to build up labelled cases.

Can we buy data to make up the difference?

Sometimes, for general inputs such as weather, demographics or market prices, which can improve a model. You cannot buy your own customers' behaviour, so bought data supplements your history rather than replacing it.

Keep reading

Not sure if you have enough data to start?

Tell us how many past records you have, what they contain and what you want to predict. We will give you an honest view on whether it is enough.

Book a free 30-minute call Get a project estimate WhatsApp us

Related services

What we build for problems like this one

AI AgentsMachine LearningAI Integration