DATABRICKS-MACHINE-LEARNING-PROFESSIONAL Web TestEngine demo

Exit VCEDump DATABRICKS-MACHINE-LEARNING-PROFESSIONAL Databricks Certified Machine Learning Professional
Question 9 of 9
0% complete
Q9 Single choice

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?

Question 9 diagram

Sign in to mark questions

Sign in to save marked questions and return to this demo.

Sign in