Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Certified Machine Learning Professional All Questions

View all questions & answers for the Certified Machine Learning Professional exam

Exam Certified Machine Learning Professional topic 1 question 36 discussion

Actual exam question from Databricks's Certified Machine Learning Professional
Question #: 36
Topic #: 1
[All Certified Machine Learning Professional Questions]

A data scientist has developed a scikit-learn model sklearn_model and they want to log the model using MLflow.
They write the following incomplete code block:

Which of the following lines of code can be used to fill in the blank so the code block can successfully complete the task?

  • A. mlflow.spark.track_model(sklearn_model, "model")
  • B. mlflow.sklearn.log_model(sklearn_model, "model")
  • C. mlflow.spark.log_model(sklearn_model, "model")
  • D. mlflow.sklearn.load_model("model")
  • E. mlflow.sklearn.track_model(sklearn_model, "model")
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
hugodscarvalho
10 months ago
Selected Answer: B
Doc: https://mlflow.org/docs/latest/python_api/mlflow.sklearn.html#mlflow.sklearn.log_model
upvoted 1 times
...
BokNinja
11 months, 1 week ago
B. import mlflow.sklearn # Log the model mlflow.sklearn.log_model(sklearn_model, "model")
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...