Big Data

MLOps: From Data to Production

A machine learning model's complete lifecycle, from basic to advanced: versioned and validated data, experiments and the model registry, pipelines and orchestration, serving in containers and on Kubernetes, drift monitoring, continuous retraining, CI and security. 24 verified labs in Docker, with the official documentation and each tool's latest changes, and a video in every lesson.

Intermediate · 30 hours · 24 lessons · Course language: Spanish and English

A hands-on MLOps course, from basic to advanced, in which a single model goes all the way to production: predicting which Altiplano Viajes bookings will be canceled. You turn a notebook into a reproducible project with tests; record experiments and models in MLflow 3 with artifacts in S3; version the data with DVC and validate it with a Pandera contract; build pipelines that only recompute what changed; serve consistent features with Feast; search hyperparameters with Optuna 5; promote models with champion and challenger aliases; choose the threshold that minimizes the business's cost and audit fairness and explanations with fairlearn and SHAP. You orchestrate monthly retraining with Airflow 3, serve the model with FastAPI, BentoML and ONNX Runtime, score batches, and deploy it on Kubernetes and KServe. Then you operate it: metrics and alerts with Prometheus and Grafana, drift with Evidently, retraining when the business changes, CI with behavioral tests and a quality gate, model signing, image scanning and the model card. Everything runs on your computer with Docker and every lesson has its video. The lessons, quizzes and videos are in English; the lab project keeps its original Spanish names and Spanish sample data, and every lesson explains them.

What you will learn

  • Turn a notebook into a reproducible project, with tests, parameters and git
  • Version data and models and reproduce any result: DVC, MLflow and S3
  • Validate data with a contract and serve features that are consistent between training and production
  • Choose, register and promote models with evidence: business metrics, fairness and explanations
  • Orchestrate retraining with Airflow 3 and serve the model as an API, a batch, ONNX and on Kubernetes
  • Detect drift and performance drops, and retrain with a champion-versus-challenger gate
  • Automate quality with CI, behavioral tests, model signing and image scanning

Skills

MLOps, MLflow, DVC, Data validation, Feature store, Optuna, Model registry, Airflow, FastAPI, BentoML, ONNX, Kubernetes, KServe, Prometheus, Evidently, CI/CD for ML, Model security

Program

Module 1: Foundations (free lessons)

A model's lifecycle, the reproducible project and experiment tracking.

Project: A model trained as a project, with tests and every experiment in MLflow.

  1. The MLOps lifecycle and your environment: What changes compared with traditional software, the course stack and the first model.
  2. From the notebook to a reproducible project: A package, parameters, a scikit-learn Pipeline, tests, ruff and git.
  3. Experiments with MLflow: Parameters, metrics, datasets, the model's signature and artifacts in S3.

Module 2: Data

Versioning with DVC, data contracts, reproducible pipelines and a feature store.

Project: A DVC pipeline on versioned, validated data.

  1. Versioned data with DVC: Data versions in S3, traveling in time and cloning without losing anything.
  2. Data contracts with Pandera: A schema that rejects broken batches and puts the bad rows in quarantine.
  3. Reproducible pipelines with DVC: Stages, cache, parameters, metrics and isolated experiments.
  4. A feature store with Feast: Point-in-time joins without data leakage and online features from Redis.

Module 3: Training and evaluation

Hyperparameters, the model registry, business metrics, fairness and explanations.

Project: A champion chosen with evidence and a business threshold.

  1. Hyperparameters with Optuna: Forward validation over time, pruning and trials in MLflow.
  2. The model registry: Versions, lineage, champion and challenger aliases, promotion and rollback.
  3. Evaluating for the business: A cost-based threshold, calibration, segments and MLflow's evaluation.
  4. Fairness and explanations: fairlearn by region, SHAP per prediction and permutation importance.

Module 4: Orchestration and serving

Airflow 3, an API with FastAPI, BentoML, ONNX and batch scoring.

Project: Monthly retraining orchestrated and the model served four ways.

  1. Orchestration with Airflow 3: A monthly DAG that fetches, validates, retrains and decides, triggered through the API.
  2. The model as a service: FastAPI with validation, loading by alias, health, a rootless image and parity.
  3. Serving with BentoML: Adaptive batching, Bentos and an image built from the model.
  4. ONNX: a portable, lightweight model: Conversion, numerical parity, latency and a smaller image.
  5. Batch inference: Scoring a month in chunks, without duplicates, and the report for operations.

Module 5: Kubernetes and monitoring

Deployments on Kubernetes and KServe, model metrics and drift.

Project: The model on KServe, a dashboard with alerts and drift reports.

  1. Kubernetes for models: A deployment with probes and limits, failures, an update and a rollback.
  2. KServe: An InferenceService in Standard mode, autoscaling and updates without interruptions.
  3. Monitoring the model: Metrics of what comes in and what it predicts, tested alerts and a dashboard.
  4. Data drift with Evidently: Tests per column, performance with labels and reports in MLflow.

Module 6: Continuous operation and final project

Continuous retraining, CI for ML, security and governance.

Project: The full cycle of a new month, from the data to a published version.

  1. Continuous retraining: From drift to the pipeline: champion against challenger and reloading without restarting.
  2. CI for machine learning: Behavioral tests, a metrics gate and GitHub Actions pinned by SHA.
  3. Model security and governance: The danger of pickle, model signing, image scanning and the model card.
  4. Final project: the MLOps platform: A new month end to end: data, retraining, drift, CI, serving and a version.

Prerequisites

  • Python with functions and basic pandas
  • Knowing what a classification model is (the course reviews what you need)
  • Docker Desktop with at least 8 GB of memory, uv, git, kind and kubectl (lesson 1 sets up the environment)

Next courses

  • LLMOps: Generative AI in Production with Best Practices · Advanced · 25 hours
    The complete lifecycle of an LLM application: versioned prompts, traces, evaluation with datasets and calibrated judges, CI, metrics and SLOs, a gateway, caching and costs, personal data, red teaming, the supply chain, governance and canary deployments. 20 labs in Docker with a local model, based on the official documentation, and a video in every lesson.
  • Advanced Docker: Kubernetes on Your Computer · Advanced · 20 hours
    Take your containers to Kubernetes with a real three-node cluster on your computer: deployments, services, autoscaling, storage, Gateway API, Helm, Kustomize, security and GitOps. 20 labs with real cases, based on the official documentation.

See all courses