A machine learning model learns from whatever you give it. If the records are incomplete, inconsistent or quietly wrong, the model will learn those flaws and repeat them with confidence.
That is why experienced teams spend more time on data than on the model itself. The good news for business leaders is that most of this preparation is not deeply technical. It is about knowing your own records, and that knowledge sits inside your team.
Define the question first
Data cannot be "ready" in general. It can only be ready for a specific question. "Which invoices are likely to be paid late?" needs payment history, customer details and due dates. "Which job applicants match this role?" needs something entirely different.
Write the question down, along with the answer you want the model to produce. That answer is called the target. Then confirm that your history actually records it. If you want to predict late payments but never stored the date payment arrived, you have found your first gap.
Take an inventory of what you hold
List every source that relates to the question: the main business system, spreadsheets, email attachments, exports from older software. For each one, note:
- Who owns it and who can grant access.
- How far back it goes, and whether the way it was recorded changed along the way.
- How records are identified, such as a customer number or employee ID.
- How often it is updated, and by whom.
The identifier matters most. If the same customer appears under three spellings in three systems, the sources cannot be joined until that is fixed. Our practical roadmap for data integration projects covers how to bring separate sources together.
Check quality with simple tests
You do not need special tools to find most problems. Open a sample and ask basic questions.
- Completeness: which fields are often blank? Is a blank meaningful or just skipped?
- Consistency: are dates, units, currencies and names written the same way throughout?
- Duplicates: does the same event or person appear more than once?
- Plausibility: are there impossible values, such as negative quantities or dates in the future?
- Stability: did a field change meaning at some point, for example after a system migration?
Record what you find instead of fixing things silently. A short written log of each issue and the decision made about it will save arguments later.
Clean with care
Cleaning means making deliberate choices. Standardize formats. Merge duplicates. Decide what to do about missing values: fill them with a sensible default, mark them as unknown, or leave those records out.
Be cautious about deleting unusual records. An outlier may be a typing error, or it may be the rare case the model most needs to see. Ask someone who knows the process before removing anything that merely looks odd.
Keep the original data untouched and apply cleaning as a repeatable set of steps. New data will keep arriving, and it will need the same treatment every time.
Get the labels right
For most business models, each past example needs a correct answer attached: this ticket was a billing issue, this claim was valid, this employee left within a year. These answers are called labels, and the model can never be better than they are.
Labels cause more trouble than any other part of the work. Watch for categories that overlap, staff who label the same case differently, and categories that were renamed partway through. Write a short guide that defines each label with examples, have two people label the same small sample, and compare their answers. Where they disagree, the definition needs work.
Make sure the data is representative
A model trained on one slice of reality performs poorly on the rest. If your history covers only one region, one season or one product line, expect weak results elsewhere.
Look at the balance of outcomes too. If the event you want to predict is rare, a model can appear accurate by always predicting that it will not happen. Your technical team has ways to handle this, but they need to know about the imbalance from the start.
Check as well whether the history contains past unfairness. A model trained on biased decisions will copy them.
Handle privacy and access from day one
Much useful business data is personal. Before any of it is copied into a project, settle a few points:
- Remove fields the model does not need, such as names or contact details.
- Confirm that you are allowed to use the data for this purpose.
- Limit who can see the working copy, and record where it is stored.
- Agree on how long it will be kept and how it will be deleted.
These steps are far easier to build in at the beginning than to add after a model is already in use.
Before any model is built, you should be able to state the question, name your sources, list the known quality problems and explain how labels were defined. If you can do that, the hard part is behind you. If you cannot yet, that is the work to start with, and Cognitell Technology can help through our data integration services.
