LeetQuiz Logo
Privacy Policy•contact@leetquiz.com
© 2025 LeetQuiz All rights reserved.
Databricks Certified Machine Learning - Associate

Databricks Certified Machine Learning - Associate

Get started today

Ultimate access to all questions.


Comments

Loading comments...

A data scientist has developed a two-class decision tree classifier using Spark ML and computed the predictions in a Spark DataFrame preds_df with the schema: prediction DOUBLE, actual DOUBLE. Which of the following code blocks correctly computes the model's accuracy from preds_df and assigns it to the accuracy variable?

Real Exam




Powered ByGPT-5