AWS Exams GCP Exams Azure Exams GitHub Exams Jira Exams ISC2 Exams

Video: A machine learning engineer has developed a databricks video

Question 1
« Back   Next databricks ml-engineer-associate Exam Question »

Full Certification Question

A machine learning engineer has developed a decision tree model using scikit-learn, logged the model using MLflow as decision_tree_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?