Runs and model candidates

A run trains one or more algorithms on a pipeline; each trained result is a model candidate.

When you train a pipeline, mlflow creates a run. A run trains every algorithm you selected, scores each one with cross-validation and gathers the results on a leaderboard. Each trained result is a model candidate: a model that exists inside the run until you decide to keep it. This page explains these two words and how to read what they produce. For the screens, see Read a run.

Runs

A run belongs to a project and records where it came from:

  • the pipeline and version that was trained (shown as, for example, "Churn v3");
  • the task, the target column and the dataset;
  • the settings of the run, such as the number of CV folds and the random Seed;
  • when it started and finished.

The project's Runs page lists every run of the project, with its Status, Pipeline, Best model, Metric and start time. You can filter by status or search by pipeline or model name. Select a run to open it.

A run page has these tabs: Leaderboard, Compare, Log and Comments, plus Forecast for time series runs. The Log is the live event log of the engine, with what ran, in which order and any errors.

Run states

StateMeaning
queuedThe run is waiting for a worker or for a free training slot.
runningAt least one algorithm is training.
succeededThe run finished. Individual models inside it may still have failed; see below.
failedThe run itself stopped with an error.
cancelledYou selected Cancel run. Training stops at once and models that had not finished are not kept.

You can leave the page while a run is queued or running. Use Run in background in the training panel, and come back from Runs. Cancelling is available while a run is queued or running.

Model candidates

Each algorithm in a run becomes a model candidate (also called a trial in the API). A candidate has its own status (Queued, Running, Succeeded, Failed or Cancelled), its metrics, its hyperparameters, its plots and its stored pipeline: the fitted steps and the model together.

A failed candidate does not fail the run. The leaderboard shows "N trained, M failed", and Show error explains why a model failed, for example because the data did not suit the algorithm.

A candidate also has a kind that says how it was made:

KindHow it was made
compareTrained directly from the pipeline's model selection.
tunedA hyperparameter search ran on another candidate. Use Tune on a candidate and choose the number of search iterations and the metric to optimise.
ensembledAnother candidate wrapped in bagging or boosting.
blendedSeveral candidates combined by voting or averaging. Select two or more on the leaderboard to blend them.
stackedSeveral candidates whose predictions feed a meta-learner.
manualTrained with hyperparameters you set yourself.

Tuned, ensembled, blended and stacked candidates are added to the same run, so you can compare them to the originals.

A candidate is not yet registered. Until you promote it, it lives in the run. When you are happy with one, Promote it, or choose Register best model on the run page, to create a registered model. See Models and the registry. A promotion can be withdrawn while no deployment uses it.

The leaderboard and the best model

The Leaderboard tab opens when a run finishes. It has:

  • A Best model card with the winning algorithm, its main metrics, its Training time and its Model size.
  • An All models table with one row per candidate and one column per metric. The caption says which metric the table is ranked by ("ranked by ..."); select a column header to sort by another. Which metrics appear depends on the task.

Scores are cross-validation averages. With 10 folds, each model is trained 10 times and each time scored on the part it did not see, so the score is not simply how well the model remembers its training data. The lesson Cross-validation explains why.

A small difference in one metric is not proof that one model is better. Select two candidates and choose Compare to see them side by side, or open one with View details for its plots, hyperparameters and pipeline.

Baselines

Supervised compare runs also train a baseline: a trivial dummy model that ignores the features. It appears on the leaderboard as Baseline so that you can see what a model has to beat. The baseline is never chosen as the best model, even if it ranks first, and a result close to the baseline tells you the data or the pipeline needs work. See the lesson Baselines.

Reproducibility

A run keeps a snapshot of what it used: the steps, the model selection, the dataset, the CV settings and the seed. Editing or deleting the pipeline afterwards does not change an existing run, and Train again starts a new run from the pipeline's current version. The candidate's Pipeline and Hyperparameters tabs show what the model was made of, and the Model card summarises it as a document. Training with the same data, the same settings and the same seed gives comparable results, though some algorithms can vary slightly between machines.

Next steps

Learn the theory

Lessons on learning.mlflow.es that explain the ideas behind this page.

Updated 2026-11-22