QuestionQ86

VerifiedAdvanced MLflow Usage

A machine learning engineer needs to log feature-importance data from a CSV file located at importance_path with an MLflow run for model model.

Which of the following code blocks accomplishes this within an existing MLflow run block?

Explanation

mlflow.log_artifact uploads a local file to the active MLflow run’s artifact store. Its optional second argument specifies the destination artifact directory, so the CSV at importance_path is recorded as a run artifact under feature-importance.csv.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!