Pattern · Building block 05

Predictive ML

Models trained on your own history that score risk, rank work or forecast demand, so people can act earlier.

What it is

Predictive ML learns patterns from your organisation's own history and uses them to score new cases. It answers narrow, repeated questions: how likely is this patient to miss the appointment, which machine is likely to fail next, how many units will this store sell next week, which payments look unusual. It usually isn't generative AI at all. Gradient-boosted trees and classical time-series models still do most of this work well.

It works as a pipeline. Historical data is cleaned and turned into features, such as 'missed appointments in the last year' or 'days since last service'. A model is trained on part of the history and tested on a later period it hasn't seen. The approved model is versioned and deployed behind an endpoint or run as a batch job, and every score is stored with the model version that produced it.

In an enterprise, the score is an input to a process, not a decision. It reorders a worklist, triggers a reminder or adds a case to a review queue. The hard parts are getting reliable data out of operational systems, agreeing what a good outcome is, and noticing when the world changes and the model's picture of it goes out of date.

Use it when, and think twice when

Use it when

  • You have a few years of reliable history with the outcome recorded
  • The question is narrow and repeated thousands of times
  • Acting earlier on a score has a clear benefit
  • You can find out later whether each score was right

Think twice when

  • The outcome is rare, poorly recorded or defined differently by each team
  • A simple rule or report would get most of the benefit
  • The score could disadvantage a protected group and you can't test for it
  • Nobody will retrain or monitor the model after launch

Reference architecture

Show services for
Predictive ML: reference architecture
  1. 01Channels

    • Transactions and events
    • Scheduled batch runs
    • External data feeds
  2. 02Intake

    • AWS GlueData Factory in Microsoft FabricApache Airflow, or your existing ETLData extracts and pipelines
    • Amazon S3Azure Data Lake StorageCeph, or IONOS S3 Object StorageData lake
  3. 03Intelligence

    • SageMaker Feature StoreAzure Machine Learning managed feature storeFeast on KubernetesFeatures
    • Amazon SageMaker AIAzure Machine LearningMLflow and Kubeflow on KubernetesTrain and register models
    • SageMaker AI endpoint or batch transformAzure Machine Learning online or batch endpointKServe, or a batch job on KubernetesScore: real time or batch
  4. 04Orchestration

    • SageMaker AI PipelinesAzure Machine Learning pipelinesKubeflow PipelinesML pipelines and retraining
    • Amazon EventBridgeEvent GridApache KafkaScores out as events
  5. 05Systems of record

    • ERP, EPR or core system
    • Data warehouse
  6. 06People

    • Person
      Act on the ranked worklist
    • Person
      Model owner reviews drift and fairness
  • Cloud or platform service (AWSAzuresovereign / on-prem)
  • AI agent
  • A person decides
  • Your existing systems
  • Outside your organisation

Components, side by side

Predictive ML: components on AWS, Azure and a sovereign or on-prem stack
LayerAWSAzureSovereign / on-prem
Data extractionUsually most of the effort. Agree data definitions with the business before modelling.AWS GlueData Factory in Microsoft FabricApache Airflow, or your existing ETL
Data lake and warehouseAmazon S3, Amazon RedshiftAzure Data Lake Storage, Microsoft FabricCeph or IONOS S3 Object Storage; PostgreSQL or your warehouse
Feature storeThe same feature definitions in training and scoring.SageMaker Feature StoreAzure Machine Learning managed feature storeFeast
Training and model registryBoth clouds support MLflow tracking, which keeps models portable.Amazon SageMaker AIAzure Machine LearningMLflow and Kubeflow on Kubernetes
ScoringBatch is cheaper and simpler unless you need the score in seconds.SageMaker AI real-time endpoint or batch transformAzure Machine Learning online or batch endpointKServe, or a scheduled job on Kubernetes
Pipelines and retrainingSageMaker AI PipelinesAzure Machine Learning pipelinesKubeflow Pipelines
Drift and fairness checksSageMaker Model Monitor and Clarify closed to new customers on 30 July 2026.Custom checks in SageMaker AI Pipelines, using open-source libraries (e.g. Evidently, Fairlearn)Azure Machine Learning model monitoring and the Responsible AI dashboardOpen-source libraries (e.g. Evidently, Fairlearn) in Kubeflow Pipelines
ExplanationsGive the person acting on a score its top reasons, in plain words.Open-source SHAPResponsible AI dashboard, or open-source SHAPOpen-source SHAP
Monitoring and auditStore every score with the model version that produced it.CloudWatch, CloudTrailAzure Monitor, Log AnalyticsPrometheus, Grafana, OpenTelemetry

On a phone, the table shows the platform you pick. Sovereign / on-prem means open, portable components you can run in your own data centre or with a UK or European provider; IONOS is shown as one example, and others exist. What sovereign cloud means →

Operations

Keeping it reliable

AI fails quietly. These three habits make failure visible before customers see it.

Evaluation

Test on a later period

Train on older data and test on the most recent months, the way the model will be used. Compare it with the rule you use today, not with nothing. Report accuracy by customer group and site, not only overall.

Monitoring

Watch the inputs and the outcomes

Track whether incoming data still looks like the training data, and compare scores with real outcomes as they arrive. Set thresholds that trigger a review, and retrain on a schedule as well as on alert.

Cost

Score in batch where you can

Most predictive models are cheap to run. Training and always-on endpoints are where costs grow, so score in batch unless you need an answer in seconds, and switch off idle endpoints. The biggest cost is usually the data engineering, so budget for it.

Security and failure risks

  1. Model drift

    Behaviour changes after a price change, a new process or a shock to demand, and the model keeps scoring confidently on a world that no longer exists.

    How the design avoids it

    Drift checks on inputs and outcomes, alert thresholds with a named owner, scheduled retraining, and a fallback to the previous rule.

  2. Unfair outcomes through proxies

    A postcode or buying pattern stands in for a protected characteristic, and one group is consistently scored worse.

    How the design avoids it

    Test outcomes by group before launch and every month after, remove or constrain proxy features, and keep a person on every adverse decision.

  3. Leakage in training

    A feature quietly contains the answer, such as a field filled in after the outcome, so test results look excellent and live results don't.

    How the design avoids it

    Build features only from data available at the moment of scoring, test on a later period, and treat suspiciously good results as a bug.

  4. Data poisoning and probing

    Someone alters training data to skew the model, or probes a scoring endpoint to learn how to beat it.

    How the design avoids it

    Control who can write to training data, version datasets, keep endpoints private behind the API layer, and rate-limit and log every call.

Playbooks that use this pattern

All 33 playbooks using Predictive ML →
Financial servicesI've worked in this sector

Payment fraud and APP scam detection

Risky payments scored in milliseconds, only the highest-risk band held automatically under rules a person approved, every other alert reviewed by an analyst before any hold, and people making every decision about a customer's payment or claim.

  • Predictive ML
  • Agents with tools
  • Human in the loop
  • Event-driven integration
Financial servicesI've worked in this sector

Reconciliation and exception handling

Millions of transactions matched every day, the breaks investigated before anyone opens a spreadsheet, and a person approving every posting, with the audit evidence built as the work is done.

  • Predictive ML
  • Agents with tools
  • Human in the loop
  • Event-driven integration
Financial servicesI've worked in this sector

Credit decisioning support

Every referred application arrives with the evidence gathered, affordability worked out and the score explained in plain English. A person makes every referred decline, clear-cut cases stay with the existing decision engine and its safeguards, and fairness is checked every month.

  • Predictive ML
  • Document AI
  • Agents with tools
  • Human in the loop
Financial servicesI've worked in this sector

Spotting vulnerable customers

Possible signs of vulnerability noticed the first time a customer mentions them, a trained person offered the right support, and outcomes checked so no group of customers is left worse off.

  • Retrieval (RAG)
  • Predictive ML
  • Speech and voice
  • Human in the loop
Insurance

Renewal pricing fairness monitoring

Every renewal price checked against the new-business price before it goes out, every pricing change tested for fair value and proxy discrimination, and clear evidence for the senior manager who signs the attestation. People own every pricing decision.

  • Predictive ML
  • Agents with tools
  • Human in the loop
  • Event-driven integration
Healthcare and the NHSI've worked in this sector

Appointment no-show prediction

Fewer empty clinic slots, because the patients most likely to miss an appointment get help to attend or rebook in good time. Prediction leads to support, never to penalties, and people make every decision about a patient's care.

  • Predictive ML
  • Agents with tools
  • Human in the loop
  • Event-driven integration
Healthcare and the NHSI've worked in this sector

Waiting-list validation

A waiting list that matches reality: data errors found every night, patients asked whether they still need care, and a person confirming every change. Clinical validation stays with clinicians.

  • Predictive ML
  • Document AI
  • Agents with tools
  • Human in the loop
  • Event-driven integration
Social careI've worked in this sector

Care notes and incident analysis

Better care notes in less time, often by voice, and early warning of patterns such as falls, weight loss, missed medicines and safeguarding signs, put in front of a manager who decides what to do.

  • Speech and voice
  • Predictive ML
  • Human in the loop
  • Retrieval (RAG)
Retail and e-commerceI've worked in this sector

Demand forecasting and replenishment

Demand forecast by product, store and channel every night, with promotions, weather and local events built in. Suggested orders and allocations ready each morning, buyers and merchandisers approving them, and less fresh food thrown away.

  • Predictive ML
  • Event-driven integration
  • Agents with tools
  • Human in the loop

Thinking about predictive ml in your organisation?

Talk through where it fits, what it would plug into, and which decisions should stay with people.

Sam Naseem
Sam NaseemBirmingham, UK · UK & Europe
Available now