Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

How to add the results to results.py? What's the results format should be? #45

Closed
yvxxyh opened this issue Jan 4, 2023 · 1 comment
Closed

Comments

@yvxxyh
Copy link

yvxxyh commented Jan 4, 2023

What value should be assigned to “experiments = {}”?

code:
bsuite/analysis/results.ipynb

`
#@ title loading results from local data:

experiments = {} # Add results here

DF, SWEEP_VARS = sqlite_load.load_bsuite(experiments)
`

@yvxxyh yvxxyh closed this as completed Jan 5, 2023
@yvxxyh yvxxyh reopened this Jan 17, 2023
@iosband
Copy link
Contributor

iosband commented Jan 17, 2023

That answer depends on what sort of logging you used to run your experiments...

but, if you did csv logging then it should be the path to the folder where all the csv files are written.

An example is provided in the colab tutorial:
https://colab.sandbox.google.com/drive/1rU20zJ281sZuMD1DHbsODFr1DbASL0RH

Here, we save to SAVE_PATH_RAND = '/tmp/bsuite/rand' and that's what you also pass to load the results

@iosband iosband closed this as completed Jan 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants