A machine learning engineer has developed a random forest model using scikit-learn, logged the model using MLflow as random_forest_model, and stored its run ID in the run_id Python variable. They now want to deploy that model by performing batch inference on a Spark DataFrame spark_df.
Which of the following code blocks can they use to create a function called predict that they can use to complete the task?
A)

B)
It is not possible to deploy a scikit-learn model on a Spark DataFrame.
C)

D)

E)

Myra
7 months agoLeeann
8 months agoVal
8 months agoJoni
8 months agoAlva
8 months agoKirk
9 months agoAntonio
9 months agoAudrie
9 months agoRoyal
9 months agoCelestine
9 months agoDenny
9 months agoKristal
9 months agoGail
9 months agoRenay
9 months agoDaron
9 months agoShawna
9 months agoNobuko
9 months ago