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

A data scientist is utilizing MLflow to track their machine learning experiments. After completing a series of runs for the experiment with experiment ID exp_id, the data scientist wants to programmatically work with 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 lines of code can be used to obtain run-level results for exp_id in a Spark DataFrame?
A . client.list_run_infos(exp_id)
B . spark.read.format("delta").load(exp_id)
C . There is no way to programmatically return row-level results from an MLflow Experiment.
D . mlflow.search_runs(exp_id)
E . spark.read.format("mlflow-experiment").load(exp_id)

Answer: B

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments