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

Partial posteriors SMC and refactor to decouple tempering from SMC construction #729

Conversation

ciguaran
Copy link
Contributor

@ciguaran ciguaran commented Aug 27, 2024

@junpenglao junpenglao self-assigned this Sep 12, 2024
@junpenglao junpenglao self-requested a review October 1, 2024 04:41
Copy link
Member

@junpenglao junpenglao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM overall, I have a minor question on partial_logposterior_factory and selector.

Also, could you go through the doc string and make sure the formatting is consistent? There is some spacing issue (some of which I highlighted.

blackjax/smc/from_mcmc.py Outdated Show resolved Hide resolved
blackjax/smc/partial_posteriors_path.py Outdated Show resolved Hide resolved
blackjax/smc/partial_posteriors_path.py Outdated Show resolved Hide resolved
@ciguaran
Copy link
Contributor Author

ciguaran commented Oct 4, 2024

@junpenglao covered the comments. For some reason the benchmark is failing for HMC (code which is untouched by this PR) 🤔

@junpenglao junpenglao merged commit 5a25352 into blackjax-devs:main Oct 5, 2024
4 of 5 checks passed
@junpenglao
Copy link
Member

Yeah i think it is just some flakyness - merging. Thanks a lot!

aphc14 added a commit to aphc14/blackjax that referenced this pull request Oct 19, 2024
…nstruction (blackjax-devs#729)

* extracting taking last

* test passing

* layering

* example

* more

* Adding another example

* tests in place

* rolling back changes

* Adding test for num_mcmc_steps

* format

* better test coverage

* linter

* Flake8

* black

* implementation[

* partial posteriors implementation

* rolling back some changes

* linter

* fixing test

* adding reference

* typo

* exposing in top level api

* reruning precommit

* adding more steps

* smaller step size

* fixes on comments

* small fix on formating

* renaming to data mask

* linter
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.

2 participants