Skip to content
Raisalon

Traditional machine learning · Planned

End-to-end demand forecasting with MLOps

A demand forecasting model on messy public data, taken from raw files to a monitored prediction API with experiment tracking, CI, and drift detection.

Planned project. This page describes the goal, the approach, and how the system will be evaluated. Code, a live demo, and results will be published here once it is built.

Goal

Show the full life of a model, not just the training step: cleaning real data, choosing a model against honest baselines, serving predictions, and noticing when the data starts to change.

Planned approach

  1. Data. A public dataset with real problems such as missing values, outliers, and changing categories, cleaned in a reproducible pipeline instead of a notebook.
  2. Validation. Time-ordered splits only, so the model is always tested on later data than it was trained on, and grouped splits where the same entity appears more than once (see splitting a dataset by customer ID).
  3. Modelling. Compare a naive baseline, a linear model, and gradient-boosted trees, with every run logged in MLflow.
  4. Serving. Package the chosen model in a Docker image behind a FastAPI endpoint, with input validation and a health check.
  5. Monitoring. Compare incoming data with the training data using Evidently and flag drift in key features and in prediction error.

Evaluation plan

  • Error metrics such as MAE and RMSE, always reported next to the naive baseline so the improvement is visible.
  • Backtesting over several time windows instead of a single split.
  • Tests in CI for the data pipeline, the model’s input schema, and the API.

Definition of done

A public repository, a deployed API, an MLflow comparison of the candidate models, a drift report, and a README that explains each modelling decision.

All projects