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