[Q] Add metrics after the experiment?

Question

Hello. Does anyone know whether it is possible to log a metrics after the experiments is done?

Answer

Sure, just do:

from neptune import Session

session = Session.with_default_backend(api_token="YOUR_TOKEN")
your_project = session.get_project("YOU/YOUR_PROJECT")

exp = your_project.get_experiments(id='YOUR-3')[0]
exp.log_metric('cool_metric_you_forgot_to_log', 0.99)

Hope this helps!

note

Originally posted on spectrum on Mar 19, 2020, migrated here on Jun 5, 2020.