Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
A data scientist is training a machine learning model using Spark MLlib in a Databricks notebook. They aim to save the trained model to the Databricks MLflow tracking server for future use. Which of the following code snippets should they use?
A
mlflow.log_model(trained_model, “model“)
B
mlflow.spark.save_model(trained_model, “model“)
C
mlflow.spark.logModel(trained_model, “model“)
D
mlflow.start_run()mlflow.spark.log_model(trained_model, “model“)mlflow.end_run()