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