openskills.info
Course Preview

MLflow for Experiment Tracking and Model Registry

MLflow is an open-source platform that records the details of every machine learning training run — its parameters, metrics, and output files — and keeps a versioned catalog of the models built from those runs, so teams can compare experiments and know exactly which model is running in production.

itArtificial intelligence and machine learning

MLflow for Experiment Tracking and Model Registry

MLflow is an open-source platform, now a Linux Foundation project, for managing the machine learning lifecycle. This course covers its two foundational components: Tracking, which records the parameters, metrics, and outputs of every training run, and the Model Registry, which catalogs the models built from those runs and manages their progression toward production. MLflow also includes Projects (packaging training code) and Deployment (serving models), which this course covers at the level needed to understand how tracking and the registry connect to the rest of the lifecycle.

The problem MLflow solves

Training a model produces more than a file of weights. It produces a specific combination of code version, hyperparameters, training data, library versions, and resulting metrics. Without a system to record that combination, teams lose track of which configuration produced which result. Two common failures follow: a team cannot reproduce a promising result because nobody recorded the exact hyperparameters used, and a team cannot tell which of twenty saved model files is the one actually serving production traffic. MLflow addresses both by making every training run and every registered model a queryable record instead of a file on someone's laptop.

Architecture: experiments, runs, and logged models

MLflow organizes work into a three-level hierarchy:

  • An experiment is a named container for a set of related runs — for example, all runs that train a fraud-detection classifier.
  • A run is one execution of training code, such as one invocation of python train.py. Each run has a unique run ID and records everything logged during that execution.
  • A logged model is a trained artifact produced during a run. Starting with MLflow 3, logged models are first-class entities with their own identity, rather than files nested under a run's artifact folder — a logged model links back to the run that produced it, but you address and query it independently.

Continue the course

This section is part of the paid course.

See pricing to subscribe, or log in if you already have access.

Where this skill leads

Relevant careers

See how this topic contributes to broader role-level skill maps.

Sources

  • https://mlflow.org/docs/latest/
  • https://mlflow.org/docs/latest/ml/tracking/
  • https://mlflow.org/docs/latest/ml/tracking/autolog
  • https://mlflow.org/docs/latest/ml/model-registry/
  • https://mlflow.org/docs/latest/ml/model-registry/workflow
  • https://mlflow.org/docs/latest/ml/model/
  • https://mlflow.org/docs/latest/ml/projects/
  • https://mlflow.org/docs/latest/ml/deployment/
  • https://mlflow.org/docs/latest/ml/mlflow-3/
  • https://mlflow.org/releases/
  • https://optuna-integration.readthedocs.io/en/stable/reference/generated/optuna_integration.MLflowCallback.html
  • https://docs.bentoml.com/en/latest/reference/frameworks/mlflow.html
  • https://github.com/SeldonIO/MLServer/tree/master/runtimes/mlflow
  • https://doc.dvc.org/
  • https://wandb.ai/site
  • https://www.kubeflow.org/
  • https://www.evidentlyai.com/