What you will be able to do
- Navigate from the Experiments page to an experiment's details page and on to a single run page
- Filter, sort, export and delete runs in the runs table using parameter, metric and tag expressions
- Locate a run's parameters, metrics, metric history graph, tags, source notebook and artifacts on the run page
- Find a logged model, its load-and-predict code snippets and its inferred signature in the Artifacts tab
- Use chart view, Compare and a parallel coordinates plot to relate hyperparameters to a metric across many runs
Key concept
Experiment details page → run page — The MLflow UI mirrors the tracking hierarchy: an experiment's details page holds a table of every run in it, and clicking a run name opens that run's own page with its parameters, metrics, tags, source and artifacts. Questions about the UI come down to which of these two levels holds the information you need.
1.From the Experiments page to an experiment's runs
Everything MLflow tracks in Databricks shows up in a UI arranged the same way as the data. A run is one execution of training code, and an experiment groups related runs. That hierarchy is covered in MLflow runs and experiments. This lesson is about where each piece of it appears on screen. If you know which page holds which fact, you can answer most "where would you look?" questions without having seen the screen in question.
The way in is the Experiments page, under AI/ML in the workspace sidebar. It lists every experiment you have access to. The Filter experiments field narrows the list by text in the Name or Location columns. Clicking an experiment name opens its experiment details page, and that is where the runs live. If you are working in a notebook, the Experiment Runs sidebar summarises each run's parameters and metrics and links to the experiment details page and to individual runs.
The experiment details page also shows identifiers you will need in code. The information icon next to the experiment name opens a note with the experiment's path, its experiment ID and its artifact location. You can pass that ID to set_experiment to make this the active experiment. The kebab menu next to Permissions lets an owner rename or delete the experiment. Deleting a notebook experiment in the UI also deletes its notebook.
Checkpoint 1 of 8· Check yourself
You want a different notebook to log its runs to an existing experiment, so you need that experiment's ID to pass to set_experiment. Where in the MLflow UI do you find it?
The experiment ID belongs to the experiment, not to a run. You find it by clicking the information icon next to the experiment's name on its details page. The note that opens shows the experiment's path, its ID and its artifact location, and you can pass that ID to set_experiment.
“A pop-up note appears that shows the path to the experiment, the experiment ID, and the artifact location.”Source: docs.databricks.com
Sources1
2.Filtering, exporting and deleting in the runs table
The runs table on the experiment details page has one row per run. Columns controls which parameters, metrics and attributes appear. The Source column links to the exact notebook version that produced each run. Clicking a Run Name opens that run's page. Three drop-downs, Time created, State and Datasets, filter on when a run was created, whether it is Active or Deleted, and which datasets it used.
The search box takes expressions over parameters, metrics and tags. They use the same filter syntax you pass to MlflowClient.search_runs with filter_string and order_by, so a filter you test in the UI can go straight into code. Tag values are strings and must be quoted. If a tag key contains spaces, put it in backticks, for example tags.my custom tag = "my value".
| Expression | Matches runs where… |
|---|---|
| metrics.r2 > 0.3 | the last logged r2 is above 0.3 |
| params.elasticNetParam = 0.5 AND metrics.avg_areaUnderROC > 0.3 | both conditions hold |
| MIN(metrics.rmse) <= 1 | the lowest rmse ever logged in the run is at most 1 |
| MAX(metrics.memUsage) > 0.9 | the highest memUsage logged exceeded 0.9 |
| tags.estimator_name="RandomForestRegressor" | the tag estimator_name has that string value |
The default is the last logged value. Wrapping a metric in MIN or MAX filters on the run's lowest or highest value instead, and LATEST states the default explicitly. Only runs logged after August 2024 store minimum and maximum values, so an older run never matches a MIN or MAX filter.
Exporting and deleting both start from the runs table. The kebab menu offers a download option labelled with the number of runs shown. This produces a CSV with one row per run, covering start time, duration, run ID, name, source, user, status and every parameter and metric, up to 100 runs. Above 100, Download all runs gives you a code snippet to run in a notebook instead. To delete, tick the checkboxes and click Delete. For a parent run, its descendant runs are selected for deletion by default. Deleted runs are kept for 30 days and come back into view when you set State to Deleted.
Checkpoint 2 of 8· Check yourself
In the runs table, you need the RandomForestRegressor runs whose memUsage went above 0.9 at some point during training, even if it dropped again before the run finished. Which search-box expression returns them?
A plain or LATEST metric filter compares only the last logged value, so it misses runs that peaked and then dropped. MAX filters on the highest value the run logged. Tag values are strings, so they must be in quotes.
“Using MIN or MAX lets you search for runs based on the minimum or maximum metric values”Source: docs.databricks.com
Sources2
3.What a single run page shows
One run's page answers the question "what exactly happened in this execution?" The top of the page shows the run ID, the parameters it used and the metrics it produced. The Details table holds the run's tags and a Source link. Clicking Source opens the notebook version that created the run, with a highlight bar showing the run's date and time. That is how you recover the exact code behind a good result, even after the notebook has changed. The kebab menu at the top right renames the run.
Tags are the editable part of the page. Add tags in the Details table opens a dialog for key-value pairs. The same dialog edits a value or removes a tag with its X. Tags you set this way can be searched straight away from the runs table with tags.<key>="<value>". Parameters and metrics come from your code and cannot be edited on this page.
Metrics logged with a step keep their whole history, and the run page plots it. When a training loop calls log_metric once per epoch, the run page draws that metric as a graph over the logged steps. You can then see whether the loss kept falling or levelled off at epoch 25, without logging a plot image yourself and without re-running anything. Contrast this with the runs table, which shows and filters on one number per metric, normally the last one logged.
import os
import mlflow
# Log from rank 0 only; all nodes share the same MLFLOW_RUN_ID.
if os.environ.get("RANK", "0") == "0":
with mlflow.start_run(run_id=os.environ["MLFLOW_RUN_ID"]):
mlflow.log_param("learning_rate", 3e-4)
for step, loss in enumerate(training_losses):
mlflow.log_metric("train_loss", loss, step=step)The experiment ID and the run ID. The run details page URL has the path /ml/experiments/ followed by the experiment ID, then /runs/ followed by the run ID.
Checkpoint 3 of 8· Check yourself
Three weeks after a run produced your best model, its notebook has been edited many times. What is the most direct way to see the exact code that produced that run?
The Source link on the run page opens the notebook version that created the run, not the current version. A highlight bar shows the run's date and time, so you see the code as it was when the run executed.
“notebook associated with the run appears in the main window with a highlight bar showing the date and time of the run”Source: docs.databricks.com
Checkpoint 4 of 8· Exam question
During training, a script calls mlflow.log_metric("val_loss", value, step=epoch) once per epoch across 40 epochs. After the run finishes, the data scientist wants to see whether val_loss decreased steadily or plateaued partway through training. What does the run's page in the MLflow UI provide for this?
Correct answer: A — The Metrics tab for that run renders val_loss as a line chart plotted against the logged step values, so the shape of the loss curve across all 40 training epochs is visible directly on that page.
- A. When a metric is logged multiple times with a
stepargument, MLflow stores the full history and the run page's Metrics tab renders it as a line chart of value versus step, showing exactly the kind of plateau or steady-decrease pattern being checked here. - B. The run overview does show the latest value for a quick reference, but the full per-step history is still tracked and chartable in the Metrics tab, so re-running training to recover the trend is unnecessary.
- C. Step-logged metrics are charted by MLflow automatically without any extra artifact logging; a manually logged matplotlib image is a separate, optional artifact and not required to see the built-in metric chart.
- D. The Tags tab stores user- or system-set key-value labels on the run, not a chronological log of metric calls, so it would not list epoch-by-epoch loss values at all.
4.The logged model, its code snippets and its signature
Output files a run writes are listed under its Artifacts tab, and a model logged with a call such as mlflow.sklearn.log_model() appears there as well. Clicking the model's name opens a panel with generated code that loads the model and makes predictions on Spark or pandas DataFrames. That gives you a working starting point for a batch scoring job, written by the platform rather than by you.
The model's signature, meaning the input columns with their types and the output type, is stored with the logged model. It is not stored in the run's tags or parameters. When you pass an input example, MLflow infers the signature from that example and the prediction the model makes on it. Databricks Autologging records signatures by default, because its mlflow.autolog() configuration sets log_model_signatures=True. To check what schema a model expects before you wire it into a pipeline, open the logged model under Artifacts. Tags hold whatever metadata you or MLflow attached. Parameters hold the settings that were logged. A chart only plots values; it does not describe a schema.
MLflow 3 also treats a model as its own object rather than only as a run artifact. An experiment's Models tab lists every Logged Model in that experiment with its metrics, parameters and artifacts. From there you can search models by attributes such as model_name or status, or by their params, tags and metrics.
Checkpoint 5 of 8· Match them up
Match each part of the MLflow UI to the information it holds about a run and its model.
Tap a term, then the definition that fits it.
The signature is stored with the logged model, not in the run's tags or parameters. So you check a model's input schema by opening the model under Artifacts, which also gives you generated code to load the model. In MLflow 3, the Models tab lists each Logged Model as its own object.
“the model appears in the Artifacts tab, along with code snippets illustrating how to load and use the model”Source: docs.databricks.com
Checkpoint 6 of 8· Exam question
A teammate trained a model with mlflow.sklearn.log_model() inside a run and now wants to confirm, from the MLflow UI alone, the exact input feature schema and output type the model expects before wiring it into a batch scoring job. Where in the UI should they look?
Correct answer: A — Open the run's Artifacts tab, expand the logged model directory, and read the MLmodel file's signature section, which records the input columns, their types, and the output type inferred when the model was logged.
- A. When a model is logged, MLflow writes an
MLmodelfile into the model artifact directory, and if a signature was inferred or supplied it records the expected input columns and types plus the output type, making the Artifacts tab the correct place to check the schema. - B. Tags are free-form key-value labels a user or job sets on a run for organization and search; MLflow does not automatically populate a
schematag with input or output column information. - C. The Parallel Coordinates Plot only visualizes the logged parameters and metrics selected for comparison across runs; it has no relationship to the input feature schema of a logged model artifact.
- D. Scikit-learn does not automatically log an
input_columnsparameter, and the Parameters tab reflects only what was explicitly logged withmlflow.log_param, so this is not where a model signature would appear.
5.Comparing runs in chart view and parallel coordinates
The run page covers one run. Chart view, opened from the Chart view icon on the experiment details page, compares many. It shows a set of charts across the experiment's runs. Hovering over a line shows that run's details. You can move, resize, enlarge, edit, delete or download each chart. The search box next to the icon takes the same filter expressions as the runs table. Sort reorders runs by a chosen parameter, and Group by collects runs that share a parameter value.
Charts start with only the 10 most recent runs. A hyperparameter search that logged 50 child runs will show only a fifth of them until you raise the number of runs displayed at the top of the run list. Runs drawn on the charts have a coloured dot and hidden runs have a grey one. Ticking one or more runs reveals Delete, Compare and Add tags buttons. Compare opens the comparing runs page for the runs you selected.
To build one, click Add chart, choose Parallel coordinates, and pick the parameters and metrics to use as axes. Each run is drawn as a line across the axes, so patterns show up as bundles. In the standard example, the runs with the best results show that lower max_depth values go with higher auc. Use the parallel coordinates plot for "how do these settings relate to the score?" Use the run page graph for "how did this one run train?"
| Question | Where to look |
|---|---|
| Which runs have r2 above 0.3? | Runs table search box |
| Did train_loss plateau during this run? | Metric graph on the run page |
| What code produced this run? | Source link on the run page or Source column |
| How do max_depth and learning rate relate to auc across runs? | Chart view, Add chart, Parallel coordinates |
| How do I load this model and predict? | Logged model under the run's Artifacts tab |
Checkpoint 7 of 8· Check yourself
A hyperparameter search logged 40 child runs to one experiment. When a colleague opens Chart view, each chart draws only 10 runs. What explains this, and what fixes it?
By default, Chart view plots only the 10 most recent runs. The other runs are listed with a grey dot until you raise the number of runs displayed at the top of the run list. Grouping, MIN/MAX filters and the August 2024 cutoff do not control how many runs a chart draws.
“By default, charts on this page show the most recent 10 runs.”Source: docs.databricks.com
Checkpoint 8 of 8· Exam question
A data scientist ran a Hyperopt search with SparkTrials, producing 50 child runs logged to one MLflow experiment. Each run has learning_rate, max_depth, and a validation metric val_auc logged. The data scientist wants to see, in one view, how the two hyperparameters and the metric move together across all 50 runs at once. What should they do in the MLflow UI?
Correct answer: A — Open the experiment's Compare Runs view, select the child runs, and choose the Parallel Coordinates Plot, mapping learning_rate, max_depth, and val_auc as axes so the relationship across the runs is visible in one chart.
- A. The Parallel Coordinates Plot in the Compare Runs view is built exactly for this: each vertical axis is a selected parameter or metric, and each run draws one line across the axes, so patterns between
learning_rate,max_depth, andval_aucacross all 50 runs are visible at once. - B. The per-run Metrics tab charts a single metric's value against logging step for that one run only; it has no mechanism to overlay parameters or metrics from the other 49 runs, so it cannot show the requested cross-run relationship.
- C. The
MLmodelfile describes the model's flavor, signature, and loading instructions for a single logged model artifact; it does not contain hyperparameter or metric values from any run, let alone the full set of child runs. - D. Sorting by creation time only reorders the rows of the run table; it does not add any chart or visual encoding that relates hyperparameters to the validation metric across runs.
Sources8
Sources
(8)
Every claim above is drawn from one of these pages, quoted as it was written on the date shown.
- 1.
“To see all of the experiments in a workspace that you have access to, in the sidebar, under AI/ML, click Experiments.”
↩︎ From the Experiments page to an experiment's runs“A pop-up note appears that shows the path to the experiment, the experiment ID, and the artifact location.”
↩︎ From the Experiments page to an experiment's runs“Databricks automatically creates a notebook experiment if there is no active experiment when you start a run using mlflow.start_run().”
↩︎ From the Experiments page to an experiment's runs“The experiment details page lists all runs associated with the experiment.”
↩︎ Key concept - 2.https://docs.databricks.com/aws/en/mlflow/runsOfficial docs
“If the key includes spaces, you must enclose it in backticks as shown.”
↩︎ Filtering, exporting and deleting in the runs table“Only runs logged after August 2024 have minimum and maximum metric values.”
↩︎ Filtering, exporting and deleting in the runs table“To download a file in CSV format containing all runs shown (up to a maximum of 100), select Download <n> runs.”
↩︎ Filtering, exporting and deleting in the runs table“Deleted runs are saved for 30 days. To display deleted runs, select Deleted in the State field.”
↩︎ Filtering, exporting and deleting in the runs table“The run screen shows the run ID, the parameters used for the run, the metrics resulting from the run”
↩︎ What a single run page shows“appears in the main window with a highlight bar showing the date and time of the run”
↩︎ What a single run page shows“Tags are key-value pairs that you can create and use later to search for runs.”
↩︎ What a single run page shows“the model appears in the Artifacts tab, along with code snippets illustrating how to load and use the model”
↩︎ The logged model, its code snippets and its signature“By default, metric values are filtered based on the last logged value.”
↩︎ Exam trap 1“By default, metric values are filtered based on the last logged value.”
↩︎ Prediction“Using MIN or MAX lets you search for runs based on the minimum or maximum metric values”
↩︎ Checkpoint“notebook associated with the run appears in the main window with a highlight bar showing the date and time of the run”
↩︎ Checkpoint - 3.
“it displays run details along with tags, parameters, and a metric graph”
↩︎ What a single run page shows“it displays run details along with tags, parameters, and a metric graph”
↩︎ Exam trap 2 - 4.https://docs.databricks.com/aws/en/mlflow/modelsOfficial docs
“A panel opens to the right showing code you can use to load the logged model and make predictions on Spark or pandas DataFrames.”
↩︎ The logged model, its code snippets and its signature - 5.
“The signature is automatically inferred from the input example and its predicted output.”
↩︎ The logged model, its code snippets and its signature“The signature is automatically inferred from the input example and its predicted output.”
↩︎ Exam trap 3 - 6.
“log_model_signatures=True”
↩︎ The logged model, its code snippets and its signature - 7.
“This page contains all the Logged Models associated with the experiment, along with their metrics, parameters, and artifacts.”
↩︎ The logged model, its code snippets and its signature - 8.
“By default, charts on this page show the most recent 10 runs.”
↩︎ Comparing runs in chart view and parallel coordinates“When one or more runs is checked, the Delete, Compare, and Add tags buttons appear.”
↩︎ Comparing runs in chart view and parallel coordinates“lower values for max_depth result in higher values for the metric auc”
↩︎ Comparing runs in chart view and parallel coordinates“By default, charts on this page show the most recent 10 runs.”
↩︎ Exam trap 4“A parallel coordinates plot is useful in understanding the effect of parameter settings on model performance and investigating relationships between parameters and metrics.”
↩︎ Prediction