Forecasting code is not a forecasting system

A notebook that produces forecasts is forecasting code. A production forecasting system needs to reliably deliver decisions when data is late, features are missing, or the world changes.

ForecastingMLOpsProduction MLTier B

TL;DR: Don't ship a model; ship a workflow. Design for failure modes up front (late data, missing features, bad candidates, exceptions) with ownership and a learning loop - that's what keeps forecasts useful when normal conditions fail.

Visual Summary

The Problem

A notebook that produces forecasts is not yet a forecasting system. Most tutorials end with model.fit(train_data) and forecast = model.predict(horizon). Useful, but production starts where that example stops. A forecasting system needs to answer operational questions around the model.

The Approach

Reliable source data: where does fresh data come from, and what happens if it arrives late, contains errors, or is missing? Validation and feature pipeline: are lags, rolling metrics, calendar variables, and external regressors recomputed consistently and actually available at forecast time? Model management: which model version is live, how is a retrained candidate evaluated against it, and what happens if it's worse? Forecast generation and uncertainty: which series run, which horizon matters, are prediction intervals/scenarios/hierarchy constraints needed? Decision delivery: who receives the forecast (planner/dashboard/API/ERP/optimisation) and what happens when it needs attention? Monitoring and improvement: did data arrive correctly, are forecasts degrading, are users overriding forecasts, has the business process changed?

Outcome

The model is one component. The system is everything required to make that model reliable, understandable, and useful when normal conditions fail. If the data arrives two days late, a production system should not fail silently - it should have a defined response. Forecasting code produces numbers. A forecasting system supports decisions.

Key Takeaway

Design insight: Don't ship a model; ship a workflow. Design for failure modes up front (late data, missing features, bad candidates, exceptions) with ownership and a learning loop - that's what keeps forecasts useful when normal conditions fail.

Comments

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