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

Refactor MALA so that it uses the MH component in proposals.py #523

Merged
merged 3 commits into from
Apr 17, 2023

Conversation

albcab
Copy link
Member

@albcab albcab commented Apr 14, 2023

Closes #508

@codecov
Copy link

codecov bot commented Apr 14, 2023

Codecov Report

Merging #523 (cadafb2) into main (85a67e6) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #523   +/-   ##
=======================================
  Coverage   99.28%   99.28%           
=======================================
  Files          47       47           
  Lines        1947     1948    +1     
=======================================
+ Hits         1933     1934    +1     
  Misses         14       14           
Impacted Files Coverage Δ
blackjax/mcmc/mala.py 100.00% <100.00%> (ø)
blackjax/mcmc/proposal.py 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

junpenglao
junpenglao previously approved these changes Apr 14, 2023
blackjax/mcmc/mala.py Outdated Show resolved Hide resolved
Co-authored-by: Junpeng Lao <junpenglao@gmail.com>
@albcab albcab merged commit a650f9b into blackjax-devs:main Apr 17, 2023
@albcab albcab deleted the refactor-mala-mgrad branch April 17, 2023 09:23
junpenglao added a commit that referenced this pull request Mar 12, 2024
* refactor MALA so that it uses the MH component in proposals.py

* Update blackjax/mcmc/mala.py

Co-authored-by: Junpeng Lao <junpenglao@gmail.com>

---------

Co-authored-by: Junpeng Lao <junpenglao@gmail.com>
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.

Refactor MALA and the marginal latent Gaussian to use proposal_generator on their MH step.
2 participants