Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding ability to save simulations to the agent learning loop #386

Merged
merged 8 commits into from
Aug 26, 2024

Conversation

agchesebro
Copy link
Member

Extension to solve #376. Saving is fine, just need to add accessing functions and some additional helpers now.

Looks like it's working, but the values aren't making a ton of sense yet
*don't conflict with `time` in Base
*fix accessing the wrong columns for the voltage average
@anandpathak31 @harisorgn this version now works with MTK9. Would be good to confirm that it is also getting the correct solution. I notice that it's not using `run_experiment!` though, so the way I implemented hooks won't work with that. Is there a reason it avoids the `run_experiment!` and uses a custom loop instead?
Spinning this off into separate utility functions per discussion with Haris, so will not merge with this PR.
@agchesebro
Copy link
Member Author

Merging and closing #376 once checks have finished - save functionality and MTK compatibility issues are all fixed. Will add voltage extraction/averaging utilities in new PR.

Not including test in `runtests.jl` but structured so can be included. Omitted because it will save out data files and that's not wanted for now.
Switch from saving jld2 files to csv files for output dataframes.
@agchesebro
Copy link
Member Author

Closes #376

@agchesebro agchesebro merged commit 1592089 into master Aug 26, 2024
2 checks passed
@agchesebro agchesebro deleted the agent-learning-hooks branch August 26, 2024 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant