Skip to content

How to re-run experiments? #286

Answered by quaquel
randym3110 asked this question in Q&A
Discussion options

You must be logged in to vote

I converted this into a Q&A, which is the more appropriate place for this type of question

I am not sure what you are trying to achieve exactly. Do you want to rerun exactly the same experiments? Do you want to rerun the same scenarios but with possibly different policies, or vice versa? Or something else?

The stored experiments are loaded as a dataframe. If you want to rerun exactly the same experiments, scenarios, and/or policies, you will have to convert each row in the dataframe back into the appropriate object (i.e., Policy, Scenario) and pass these to perform_experiments.

Something like the snippet below should work. This can easily be refined, for example, by first getting only the…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by quaquel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #285 on July 01, 2023 10:15.