Return sampler state in pm.sample
#5398
Replies: 3 comments 1 reply
-
Technically we could include it in sampler stats, but that might eat a lot of bytes if we're only interested in the final state after sampling. I don't think we should return it separately: We'll probably want to store it in the |
Beta Was this translation helpful? Give feedback.
-
I think this is a good motivation to refactor the step samplers. For instance to move away from global seeding: Agree with making sampling more stateless |
Beta Was this translation helpful? Give feedback.
-
Dear @ricardoV94 , I am a newcomer to PyMC and I am eager to contribute to the community. I am interested in the GSoC 2023 idea - Project: Refactor step sampler API, but before I begin working on my project proposal, I would like to gain a better understanding of the PyMC codebase and how it functions. As a student developer, I am highly motivated to learn and grow in the tech industry. I was wondering if you could provide me with any guidance on how to get started with contributing to PyMC. Your help would be greatly appreciated. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Currently,
pm.sample
does not returnstep_method
, which makes restart sampling impossible.Some workaround we suggest user is to reinitialized the
step_method
manually using the posterior. This is mostly fine but we are not exactly restarting from the same state.There are a few ways I see we can archive this:
Beta Was this translation helpful? Give feedback.
All reactions