MLOps and data engineering

The model after the project ends

The trial went well. A year later the feed has changed and a transmitter has moved. The model's number is still on the screen. The operators have stopped looking at it.

A technician replacing a sensor at a biogas plant

Keeping the data and the model in step

Data engineering moves plant data, cleaned and on time, from historian and lab to the model. Machine learning operations (MLOps) keeps the deployed model versioned, checked against what the plant then did, and refitted.

The work between a trial and a tool

Historian and lab to features

Tags are cleaned, aligned with lab results and aggregated, for one fertilizer plant to 10-minute intervals.

How plant data is connected

Experiments and versions

Every run records its data, code and settings. Any result can be rebuilt months later.

A model in service

Predictions are compared with what the plant then did. When error grows, the model is refitted.

How a model is kept honest

Tools the team works with

None of these is a requirement. We fit what the plant already runs.

Tracking
MLflow, DVC, Weights & Biases
Pipelines
Apache Airflow, Argo Workflows, Kubeflow
Serving
TensorFlow Serving, Seldon Core, BentoML
Monitoring
Prometheus, Grafana
Feature stores
Feast, Tecton
Cloud
Google Cloud AI Platform, Amazon SageMaker

Case study

Flotation recovery

A phosphate and potash mining company adjusted its flotation circuits on late lab results. Two models went into production, integrated with existing systems. Users were trained. Model performance was monitored and reviewed.

How the flotation models went into production

57Attributes, from 5 years of data

A model the plant stopped trusting

If you have one, we would like to see it. Drift nearly always has a cause that can be found: a changed feed, a moved transmitter, a new lab method.