Pipelines

A pipeline is a versioned recipe: dataset, target, preprocessing steps and algorithms.

A pipeline is the recipe that turns a dataset into trained models. You build it column by column in Pipeline Studio: choose the data, decide how each column is prepared, and choose the algorithms to train. This page explains what a pipeline contains and how it behaves. For the screen itself, see Pipeline Studio.

What a pipeline contains

A pipeline has four parts:

PartWhat it holds
DatasetThe data source the pipeline reads, shown with its row and column count.
Columns (steps)An ordered list of preprocessing steps, shown as Steps in order. Each step works on the columns you select and has its own parameters. In the editor you reach them column by column: one row per column, with its transformations as chips.
ModelsThe algorithms to train, each in Automatic mode (sensible defaults) or Manual mode (you set the hyperparameters), plus the cross-validation settings.
ResultWhere the trained models appear, in a run.

A pipeline also has a task: classification, regression, clustering, anomaly detection or time series forecasting. The task is chosen when the pipeline is created, and it decides which algorithms, metrics and plots are available. Supervised tasks also have a target column, the value to predict.

You choose a transformation per column with Choose..., which lists only the ones that fit the column's type, in plain groups: Fill missing values, Turn categories into numbers, Scale numbers, Change the shape of the values, Extreme values, Dates, Text, Name and type and Remove column. A few work on several columns together, such as Combine columns (PCA); they are listed under Across several columns. The editor tells you when a step does not fit ("It does not work on this type of column"). Some steps need an optional component that is not installed on every server; those are shown as unavailable. Each step can be moved, duplicated, turned off or turned on without deleting it.

For the full list of steps, see the Preprocessing reference.

Steps are fitted on training data only

Many steps learn something from the data: a scaler learns the mean and spread of a column, an imputer learns the value to fill in, an encoder learns the categories it has seen. mlflow always learns these values from the training rows only, never from the rows held back for testing. The held-out rows are then transformed with what was learned from the training rows. This is what keeps the test score honest. Learning from all the rows before splitting is a form of data leakage; see the lesson Data leakage.

The steps also become part of the model. When you deploy it, every row sent to the endpoint goes through the same steps first, so you send raw column values and not pre-processed ones.

Check without running, in the Review & run part, checks a pipeline without training anything. It simulates how the columns change from step to step, and reports either how many columns remain after the pipeline ("All good") or the steps that need a fix, such as a step that uses a column that no longer exists.

Every save is a new version

A pipeline is never overwritten. Each time you save a change, mlflow creates a new version of the same pipeline (v1, v2, v3 and so on), and you can choose which version to open in the Version picker. Duplicating a pipeline creates an independent copy with its own history, optionally on another dataset: mlflow re-checks the column references against the new data.

Deleting a pipeline hides it and all its versions from the list. Runs that already exist keep their own snapshot of the steps and settings that were used, so history is unaffected.

You can also Save as template to keep the steps and model selection without any dataset, and start new pipelines from that template with Use template. Templates belong to the workspace, so every project can use them.

Pipelines and runs

A pipeline is the plan; a run is one execution of it. When you train, mlflow takes the saved version, starts a run and trains every selected algorithm. Training can start in two ways:

  • Train N models, in the Review & run part, saves any unsaved change as a new version, opens a training screen and then opens the finished run. You can choose Run in background and keep working.
  • Under Earlier runs in the same part you find the pipeline's previous runs, and See the latest results opens the newest.

Because a run records the pipeline version it came from, you can always tell which recipe produced a model. See Runs and model candidates.

Recommendations

In the Columns part, Suggested: in a column row and the Recommendations panel suggest steps for your dataset. They are rule-based: mlflow looks at the data profile and applies fixed rules, such as dropping constant or ID-like columns, filling missing values, encoding high-cardinality columns or handling columns with many outliers. No model is trained and nothing is sent to an AI provider. Every suggestion has a reason that names the column and the number behind it. You can Apply a suggestion in the row (or Apply all N suggestions), or in the panel Accept it, Edit columns first, or Dismiss it; dismissed suggestions can be shown again with Show dismissed.

If your workspace has an AI provider configured, Suggest a pipeline in the pipeline assistant proposes steps and algorithms. It is advisory: you review the changes as a difference, and nothing changes until you select Accept. See AI advisor for what it sends.

Next steps

Learn the theory

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

Updated 2026-11-22