Video upload date:  · Duration: PT1H46M27S  · Language: EN

A data scientist has developed a two-class databricks video

ml-engineer-associate video for a data scientist has developed a two-class decision tree classifier using Spark ML and computed the predictions in a Spark

This is a dedicated watch page for a single video.

Full Certification Question

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 following schema: prediction DOUBLE actual DOUBLE Which of the following code blocks can be used to compute the accuracy of the model according to the data in preds_df and assign it to the accuracy variable?