QuestionQ95

VerifiedAdvanced MLflow Usage

A data scientist is using MLflow to track machine-learning experiments. After completing a series of runs for the experiment with experiment ID exp_id, the data scientist wants to programmatically access the experiment run data in a Spark DataFrame. They have an active MLflow Client client and an active Spark session spark.

Which of the following code lines can obtain run-level results for exp_id in a Spark DataFrame?

Explanation

The mlflow-experiment data source exposes a Spark DataFrameReader API for loading MLflow experiment run data. Passing an experiment ID to load() returns the runs for that experiment as a Spark DataFrame.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!