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

Update AdvancedMH.jl wrapper for Monte Carlo sampling. #325

Merged
merged 9 commits into from
Jan 25, 2024
Merged

Conversation

Alexsp32
Copy link
Member

2nd attempt at a PR without merging in extra stuff as well

#320 was caused due to a breaking change in how AdvancedMH.jl handles the init_params keyword. initial_params is now required instead. I've removed compatibility for lower versions of AdvancedMH.jl to be safe.

#321 Has a non-breaking change to the movement-related keywords. Using the old move_ratio and internal_ratio will now produce a warning. Old keywords could be removed entirely after some time.

AdvancedMH or one of its dependencies may have updated a keyword from "initial_config" to "initial_params".
This caused NQCD to not deliver initial positions to the sampling chain correctly.
- Update ThermalMonteCarlo.jl with new keywords movement_ratio and stop_ratio, where movement_ratio=1-stop_ratio
- Add warning for deprecated kwargs.
- Update documentation with information about new keywords
@Alexsp32 Alexsp32 linked an issue Jan 25, 2024 that may be closed by this pull request
@Alexsp32 Alexsp32 merged commit b6c2a73 into main Jan 25, 2024
11 of 13 checks passed
@Alexsp32 Alexsp32 deleted the advancedmh_fix branch January 25, 2024 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants