Skip to content

Instantly share code, notes, and snippets.

@patryk-oleniuk
Last active May 10, 2020 10:47
Show Gist options
  • Save patryk-oleniuk/f251a2460ba014e50d51541b57300690 to your computer and use it in GitHub Desktop.
Save patryk-oleniuk/f251a2460ba014e50d51541b57300690 to your computer and use it in GitHub Desktop.
correct mlflow run
# to correct a parameter, metric or artifact of an existing run, just pass run_id
# instead of experiment_id to mlflow.start_run function
with mlflow.start_run(run_id="your_run_id") as run:
mlflow.log_param("p1","your_corrected_value")
mlflow.log_metric("m1",42.0) # your corrected metrics
mlflow.log_artifact("data_sample.html") # your corrected artifact file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment