QuestionQ120

VerifiedDeployment Strategies

A machine learning engineer developed a random forest model with scikit-learn and registered it by using MLflow. They now want to deploy the model in parallel.

Which operation can they use to create a function for deploying the registered scikit-learn model in parallel?

Explanation

MLflow models logged in the scikit-learn flavor can also be loaded through the Python-function flavor. mlflow.pyfunc.spark_udf creates a Spark UDF from a model URI, including a registered-model models:/... URI, so Spark can distribute inference across parallel executors.

Learn more

Community Discussion

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