Câu 21: Databricks Certified Machine Learning Associate
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 DataFrame train_df to train the model. The Spark DataFrame train_df has the following schema: The machine learning engineer shares the following code block: Which of…
Nội dung câu hỏi
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 DataFrame train_df to train the model. The Spark DataFrame train_df has the following schema: The machine learning engineer shares the following code block: Which of the following changes does the machine learning engineer need to make to complete the task?
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. They need to call the transform method on train_df
- B. They need to convert the features column to be a vector — đáp án hiện tại
- 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 the features column out into one column for each feature
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.