Production & MLOps

Applied ML articles on forecasting, feature engineering, NLP, production ML, graph analytics, conformal prediction, label engineering, and decision-oriented modeling — from real projects at Sofrecom (Orange Wholesale), Tunisia Telecom, Kiota Intelligence, and Zindi.

Insights on production ML, MLOps, monitoring, deployment, and reliable data science systems. Browse all insights in this category, or view all insights.

C
SAS · ML Pipeline · Architecture · MLOps

What SAS Enterprise Miner still teaches about ML pipelines

A visual workflow is not nostalgia. It is a reminder that a pipeline should show where data enters, where it changes, and how it becomes a decision — with explicit dependencies, data contracts, and inspectable outputs.

Result: Modern pipelines can be more reproducible and scalable, but they still need visible architecture — code-first should never mean architecture-last.

C
Python vs R · Structured Data ML · Tooling

Python vs R in 2026: the language is not the strategy

Python vs R in 2026 is not a winner-takes-all debate. For structured-data ML, both cover supervised learning, statistics, feature engineering, and evaluation; the choice depends on the task, team, deployment target, and maintenance model.

Result: Choose the language that shortens the path from question to validated decision — and use both when the workflow genuinely needs both.

C
Git · MLOps · Reproducibility

5 Git commands that save ML experiments

Beyond add, commit, push: stash, show, diff, restore, and reflog help recover from messy ML experiments without rewriting history that collaborators depend on.

Result: Git becomes a recovery system for work that rarely goes as planned — just don't use it as a data lake.

B
Tabular ML · MLOps · Production ML

The Modern Tabular ML Stack: Tools That Earn Their Place

A modern tabular ML stack is a reproducible workflow, not a list of new tools: Parquet and DuckDB for data, validated feature layers, honest baselines, gradient-boosted trees, experiment tracking, and observable serving.

Result: A shorter, operable stack that teams can reproduce locally and trust in production — with complexity added only when it removes a measured bottleneck.

B
Model Monitoring · Data Drift · MLOps

Check Feature Drift Before Retraining the Model

When production performance drops, the reflex is to retrain. A feature-drift check is cheaper: compare a trusted reference period with the data currently reaching the model, inspect which features moved, and investigate the cause before changing anything.

Result: An Evidently DataDriftPreset report turns a vague performance drop into a short list of shifted features. Drift is a diagnostic signal, not proof of degradation — it points to a broken pipeline, a population change, seasonality, or a real shift, so the response is a diagnosis rather than an automatic retrain job.

C
Automation · MLOps · Data Engineering

Same Automation Instinct, Higher Leverage

My first automation was VBA, not Python: refreshing charts, formatting slides and exporting recurring reports. Later came SAS, R, Python pipelines and now LLM-assisted systems, but the question never changed — what work is repeated, stable and valuable enough to formalise?

Result: The language and abstraction level changed; the automation mindset did not. A workflow the business depends on needs reliability — clear inputs, repeatable logic, validation, monitoring and an owner — not just a script.

B
AI Iteration · MLOps · Model Evaluation

A Rough First Run Is Not a Failure: Iterative Learning Loops

A rough first run is not a failure signal. Whether you build a prompt, an AI workflow, an extraction pipeline, a feature-engineering approach, or a forecasting system, the first serious version is often incomplete. A useful first run does not need to solve everything — it needs to reveal where the real problems are.

Result: Good iteration is not random repetition. Build a baseline, inspect failure patterns, identify the highest-value fix, change one meaningful thing, and evaluate again using the same criteria. The skill is not getting everything right on run one — it is turning failures into the next useful iteration.

C
MLOps · Tooling · Model Validation

Same Practitioner, Better Tools: ML Workflow Then vs Now

My competition workflow looks very different from a few years ago — reusable feature pipelines, automated hyperparameter search, experiment tracking, better diagnostics and AI assistance for boilerplate. The fundamentals did not change.

Result: Better tools increase leverage, but fundamentals decide whether that leverage is useful. You can run more bad experiments faster, poor validation can still select the wrong model, and generated code still cannot tell you whether a feature exists at prediction time. Understand the problem, build a reliable validation design, check for leakage, improve features with domain context, and add complexity only when it earns its place.

B
Tooling · Data Science Practice · Production ML

Tools That Last in Data Science

After 10 years in data science, the tools that stayed were rarely the flashiest ones. Three kept their place: SQL for testing an idea close to the data, LightGBM/XGBoost as serious tabular baselines, and Pydantic for making system boundaries explicit.

Result: The tools that survive solve recurring problems with low friction. What did not stick were tools that demanded significant setup without enough repeated value — or solved a problem rarely encountered. The most durable tools are rarely the loudest; they keep paying rent.

C
MLOps · Production ML · Data Engineering

Dataiku vs Code-First: The Wrong Fight

Code-first and platform workflows solve different parts of the same problem. Code wins while the work is uncertain — experimentation, custom feature engineering, unusual modelling logic. A platform wins once the workflow must become repeatable and visible across a team.

Result: The useful question is not “code or platform?” but “where does standardisation help, and where should code remain the source of truth?” Maintainability comes from ownership, tests, review, and operations — not the tool alone.

B
Class Imbalance · Model Evaluation · Resampling

SMOTE is not the default answer to class imbalance

SMOTE is one option for class imbalance, not the default. I start with an evaluation plan instead: a strong baseline on the original distribution, class weighting, a tuned decision threshold, and a check on whether the problem is labels or framing — before any synthetic data is created.

Result: A strong baseline and realistic evaluation come first. Resample training folds only, never validation or test, and test SMOTE only when minority examples are sparse and local interpolation is plausible.

A
Software Contracts · LLM Engineering · MLOps

Pydantic Is More Than Input Validation

Most production failures in ML and LLM systems are not model failures. They are boundary failures: an API accepts an impossible value, a config typo silently changes behaviour, an LLM returns structured output missing a field the application reads unchecked, one stage sends data the next stage cannot interpret.

Result: I use Pydantic at the four boundaries where an assumption crosses components — API input, LLM output, pipeline configuration, and stage-to-stage handoffs. Defining the contract and validating on entry moves failures earlier and closer to their cause, and makes assumptions reviewable instead of invisible.

A
MLOps · Production ML · Automation

Automate Maintenance, Keep Judgment Human

In many ML teams, the real bottleneck is not building the first model. It is maintaining models that are already understood. When the task, data contract, and risk boundary are well understood, much of that work can be automated safely.

Result: Automate repeatable maintenance with clear quality gates. Free data scientists for work that still requires human judgment — framing problems, investigating change, and choosing the right approach.

B
MLOps · Model Validation · Data Drift

Adversarial Validation: Detect Data Shift Before Your Model Fails in Production

Your model gets AUC 0.92 in cross-validation and drops to 0.71 in production. Sometimes the model is not the problem — train and production data simply do not look like the same world.

Adversarial validation trains a classifier to tell training data apart from production data. A high AUC means the two worlds have drifted apart — and that is detectable before you deploy.

Result: 10 lines of code that save you from deploying a model that is already outdated.

Share on LinkedIn → View on GitHub →
ForecastingTime SeriesMachine LearningPredictive ModelingFeature EngineeringNLPLLM ApplicationsDocument AICustomer SegmentationTelecom AnalyticsAnomaly DetectionRecommendation SystemsGraph AnalyticsGeospatial AnalyticsStatistical AnalysisExperimentation & A/B TestingPythonRSQLDataikuShiny DashboardsStreamlit AppsData VisualizationProduction MLModel EvaluationDecision SystemsData AutomationBusiness Analytics