A machine learning engineer wants to log feature importance data from a CSV file at path importance_path with an MLflow run for model model. Which of the following code blocks will accomplish this task inside of an existing MLflow run block?
A.
B.
C.
mlflow.log_data(importance_path, "feature-importance.csv")
D.
mlflow.log_artifact(importance_path, "feature-importance.csv")
E.
None of these code blocks tan accomplish the task.
By using the mlflow.log_artifact function, you can log the feature importance CSV file as an artifact within an existing MLflow run. Additionally, you can log the model using the appropriate MLflow flavor and optionally log the feature importance data as metrics for easier access and analysis. This approach ensures that all relevant information is logged and tracked within the same MLflow run.
D. mlflow.log_artifact(importance_path, "feature-importance.csv")
upvoted 2 times
...
Log in to ExamTopics
Sign in:
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.
64934ca
4 months, 3 weeks agosindhu_gowda
5 months, 2 weeks agoc4b65b5
5 months, 2 weeks agosrikanth923
7 months agohugodscarvalho
10 months agomozuca
11 months agotrendy01
11 months agodplyr
11 months agoBokNinja
11 months, 1 week ago