Technology

Machine Learning

Machine learning is a way of writing a rule you cannot write by hand. The engineering question is whether the rule is worth learning, and what it costs when it is wrong.

Reviewed 8 November 2026

A model is a compressed guess about the world, fitted to examples. That definition sets the work: choose the examples carefully, state what the guess is for, and measure it on cases it has not seen. Most failures in applied ML are failures of that sequence rather than of architecture.

The sequence we follow

  1. 01
    Frame the decision

    What is being decided, by whom, how often, and what each error costs. A model without this is a science project.

  2. 02
    Inventory the data

    What exists, how it was collected, what is missing and why. Collection artefacts are the most common hidden bias.

  3. 03
    Set the baseline

    The rule the office uses today, or a simple heuristic. A model that cannot beat it has no business being deployed.

  4. 04
    Hold out the test set

    Chosen before tuning, drawn from real conditions, and left alone. Reuse contaminates it silently.

  5. 05
    Report per slice

    The handwritten form, the rare class, the new supplier. An average is a summary, not an evaluation.

A simpler rule often wins. If a threshold on three fields captures most of the value, a gradient-boosted model with forty features buys a fraction of a point and costs an explanation nobody can give a customer. We will say that in a proposal, even when the simpler option is the smaller invoice.

Data governance is part of the model

Where the training data came from, who consented to its use, how long it is retained and whether it can be deleted are not paperwork around the model. They determine which model can be built and which claims can be made about it. A retention period that nobody can honour is a defect in the system, discovered at the worst moment.

What we measure beyond accuracy

  • Calibration: when the model says 80%, is it right four times in five?
  • Stability: how much does the output move under a small input change?
  • Coverage: what share of cases does it decline, and is that share sensible?
  • Drift: how quickly does performance decay on new data, and what triggers a re-check?
  • Cost: inference, storage and the human minutes the queue consumes

The handover includes the training code, the data manifest and the evaluation note, so the model can be retrained by somebody else. A model that only its builder can reproduce is a dependency dressed as an asset.

Questions

Questions about method.

How a system is specified, what evaluation has to show, and what hand-over leaves behind.

Do you use deep learning for everything?
No. Tabular decisions often do better with gradient boosting or a rule. Deep learning earns its place when the input is unstructured — text, images, audio — and the dataset is large enough to support it.
How much data is needed?
It depends on the task and the error budget. A narrow classification with clean labels can work on a few thousand examples; document extraction usually needs more, and a retrieval task needs a corpus rather than labels.
Who owns the trained model?
The client, on handover, including weights and training code, unless the engagement says otherwise in writing. We do not retain a copy for reuse.
Next step

Bring a problem definition.

The first conversation is usually enough to know whether a problem is specified tightly enough to evaluate.