CertyRush
Đang tải...
C CertyRush
Câu hỏi free preview

Câu 7: Databricks Certified Machine Learning Associate

A data scientist has defined a Pandas UDF function predict to parallelize the inference process for a single-node model: They have written the following incomplete code block to use predict to score each record of Spark DataFrame spark_df: Which of the following lines of code can be used to complete the code block to…

Nội dung câu hỏi

A data scientist has defined a Pandas UDF function predict to parallelize the inference process for a single-node model: They have written the following incomplete code block to use predict to score each record of Spark DataFrame spark_df: Which of the following lines of code can be used to complete the code block to successfully complete the task?

Minh họa câu hỏi Minh họa câu hỏi

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.

  1. A. predict(*spark_df.columns) — đáp án hiện tại
  2. B. mapInPandas(predict)
  3. C. predict(Iterator(spark_df))
  4. D. mapInPandas(predict(spark_df.columns))
  5. E. predict(spark_df.columns)

Cộng đồng

0 bình luận công khai. Tên thành viên được ẩn một phần.

Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.

Câu hỏi liền kề