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.
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
10 months agosindhu_gowda
10 months, 3 weeks agoc4b65b5
10 months, 3 weeks agosrikanth923
1 year agohugodscarvalho
1 year, 3 months agomozuca
1 year, 4 months agotrendy01
1 year, 4 months agodplyr
1 year, 4 months agoBokNinja
1 year, 4 months ago