QuestionQ118

VerifiedAdvanced MLflow Usage

A machine learning engineer has registered a Spark ML model in the MLflow Model Registry with the Spark ML model flavor, using the UI model_uri.

Which operation can load the model as a Spark ML object for batch deployment?

Explanation

mlflow.spark.load_model(model_uri) loads an MLflow model logged with the Spark ML flavor as a native pyspark.ml.pipeline.PipelineModel, enabling Spark-based batch scoring and deployment. The MLflow Spark API documents this method as the loader for Spark MLlib models and supports registered-model URIs.

Learn more

Community Discussion

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