Databricks Certified Machine Learning Associate Exam Databricks-Machine-Learning-Associate Question # 16 Topic 2 Discussion

Databricks Certified Machine Learning Associate Exam Databricks-Machine-Learning-Associate Question # 16 Topic 2 Discussion

Databricks-Machine-Learning-Associate Exam Topic 2 Question 16 Discussion:
Question #: 16
Topic #: 2

A machine learning engineer would like to develop a linear regression model with Spark ML to predict the price of a hotel room. They are using the Spark DataFrametrain_dfto train the model.

The Spark DataFrametrain_dfhas the following schema:

Databricks-Machine-Learning-Associate Question 16

The machine learning engineer shares the following code block:

Databricks-Machine-Learning-Associate Question 16

Which of the following changes does the machine learning engineer need to make to complete the task?


A.

They need to call the transform method on train df


B.

They need to convert the features column to be a vector


C.

They do not need to make any changes


D.

They need to utilize a Pipeline to fit the model


E.

They need to split thefeaturescolumn out into one column for each feature


Get Premium Databricks-Machine-Learning-Associate Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.