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