Get startedGet started for free

How to retrieve active run data?

MLflow uses the concept of runs to log metrics, parameters and artifacts to MLflow Tracking. Using the start_run() function from the mlflow module starts a new run and sets it to an active state. This is helpful if information such as run_id or artifact_uri needs to be retrieved.

A run has been set to active using the following code:

run = mlflow.start_run()

If information about the current run is needed, which of the following attributes is used to retrieve metadata about an active run?

This exercise is part of the course

Introduction to MLflow

View Course

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise