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
9 months agoLeeann
9 months agoVal
9 months agoJoni
10 months agoAlva
10 months agoKirk
10 months agoAntonio
10 months agoAudrie
10 months agoRoyal
11 months agoCelestine
11 months agoDenny
11 months agoKristal
11 months agoGail
11 months agoRenay
11 months agoDaron
11 months agoShawna
11 months agoNobuko
11 months ago