-
Notifications
You must be signed in to change notification settings - Fork 4
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
Thining results #7
Conversation
Signed-off-by: code_reformat <>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good, thanks. Sorry for taking a little while to get to the review! Hope you can add/change a couple of things as per the comments, but happy to approve in any case.
Also, you'll need to merge in some small changes from main before merging the pull request. Shouldn't be any conflicts. |
Signed-off-by: t.hajimohammadloo <[email protected]>
Signed-off-by: t.hajimohammadloo <[email protected]>
Signed-off-by: t.hajimohammadloo <[email protected]>
Signed-off-by: code_reformat <> Signed-off-by: t.hajimohammadloo <[email protected]>
… into thining_results
f49d7b7
to
f4e24da
Compare
Signed-off-by: david.randell <[email protected]>
Signed-off-by: david.randell <[email protected]>
Signed-off-by: code_reformat <> Signed-off-by: david.randell <[email protected]>
Signed-off-by: bvandekerkhof <[email protected]> Signed-off-by: david.randell <[email protected]>
Signed-off-by: t.hajimohammadloo <[email protected]> Signed-off-by: david.randell <[email protected]>
Signed-off-by: t.hajimohammadloo <[email protected]> Signed-off-by: david.randell <[email protected]>
Signed-off-by: code_reformat <> Signed-off-by: t.hajimohammadloo <[email protected]> Signed-off-by: david.randell <[email protected]>
f4e24da
to
bc6aa1b
Compare
Description
Added thinning to help the memory usage for large datasets by reducing output storage size by storing every k-th iteration instead of the full chain.
List any dependencies that are required for this change.
No dependencies.
Fixes # (issue)
Improving memory issue for larger cases.
Type of change
Please delete options that are not relevant.
Jupyter Notebooks
If your changes involve Jupyter notebooks please explicitly state here what the change consists of, e.g. only output
cells have changes or specific input changes. This to make sure we capture these changes correctly in the review process.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce.
Please also list any relevant details for your test configuration
Updated existing test test_run_mcmc with additional input for thinning. We tested that the right number of sample function is called and the storage dictionary is in the right size.
As part of this we renamed the nburn_iter fixture to mcmc_setting to reflect the use of thinning parameter as well.
Checklist: