Câu 31: Databricks Certified Machine Learning Professional
A data scientist has developed and logged a scikit-learn random forest model model, and then they ended their Spark session and terminated their cluster. After starting a new cluster, they want to review the feature_importances_ of the original model object. Which of the following lines of code can be used to restore…
Nội dung câu hỏi
A data scientist has developed and logged a scikit-learn random forest model model, and then they ended their Spark session and terminated their cluster. After starting a new cluster, they want to review the feature_importances_ of the original model object. Which of the following lines of code can be used to restore the model object so that feature_importances_ is available?
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. mlflow.load_model(model_uri)
- B. client.list_artifacts(run_id)["feature-importances.csv"]
- C. mlflow.sklearn.load_model(model_uri) — đáp án hiện tại
- D. This can only be viewed in the MLflow Experiments UI
- E. client.pyfunc.load_model(model_uri)
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.