QuestionQ22

VerifiedCustom Model Serving

A Machine Learning Engineer is developing a script to score a large batch of customer data with a SparkML RandomForestClassificationModel registered in Unity Catalog. They want to follow commonly accepted coding best practices for this model.

Which approach best meets their needs?

Explanation

MLflow’s Spark flavor loads a registered Spark MLlib model as a Spark transformer, which performs distributed batch scoring by calling transform() on a Spark DataFrame. This is the native inference pattern for a SparkML classification model.

Learn more

Community Discussion

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