Câu 24: Databricks Certified Data Engineer Professional
The data science team has created and logged a production model using MLflow. The following code correctly imports and applies the production model to output the predictions as a new DataFrame named preds with the schema "customer_id LONG, predictions DOUBLE, date DATE". The data science team would like predictions sa…
Nội dung câu hỏi
The data science team has created and logged a production model using MLflow. The following code correctly imports and applies the production model to output the predictions as a new DataFrame named preds with the schema "customer_id LONG, predictions DOUBLE, date DATE". The data science team would like predictions saved to a Delta Lake table with the ability to compare all predictions across time. Churn predictions will be made at most once per day. Which code block accomplishes this task while minimizing potential compute costs?
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. preds.write.mode("append").saveAsTable("churn_preds") — đáp án hiện tại
- B. preds.write.format("delta").save("/preds/churn_preds")
-
C. Lựa chọn C bằng hình ảnh
-
D. Lựa chọn D bằng hình ảnh
-
E. Lựa chọn E bằng hình ảnh
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.