Hi, you can use the get_context method of the Run Class to get the run id. Here's an example:
run = Run.get_context()
run_id = run.id
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello, I'm writing a ML pipeline.
At the end of a script I have to write the output to a SQL database, and I would need the ExperimentID as a field of the output dataframe.
Is there a way for me to find within the running script in which experiment it's being run?
Or is there a way for me to input the ExperimentID as a parameter to the pipeline at launch? From what I understand parameters are defined before the experiment is created so that's a bit confusing.
In case this is too complicated, is there a way I can somehow chain the pipeline output inside a script to the experiment it's being run?
Thank you very much,
Hi, you can use the get_context method of the Run Class to get the run id. Here's an example:
run = Run.get_context()
run_id = run.id