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

Hamiltonian monte carlo (HMC) sampling is available in MTUQ through SeisHMC #217

Merged
merged 4 commits into from
Jul 27, 2023

Conversation

Liang-Ding
Copy link
Contributor

Hamiltonian monte carlo (HMC) sampling is available in MTUQ through package SeisHMC.
(1) The data and 3D Greens function in folder ./data/examples/SPECFEM3D_SGT are updated.
(2) SeisHMC is added in MTUQ to enable HMC sampling.
(3) Two examples (test_HMC_DoubleCouple.py and test_HMC_FullMomentTensor.py) are provided in folder ./tests
For more examples and details about SeisHMC, refer to https://github.com/Liang-Ding/seishmc.

@rmodrak
Copy link
Member

rmodrak commented Jul 20, 2023

Looks great, thank Liang. How do the HMC and grid search results compare? Could be interesting to discuss.

@rmodrak
Copy link
Member

rmodrak commented Jul 20, 2023

It looks like a version conflict or other problem with pip itself may be causing the failed CI tests?

@Liang-Ding
Copy link
Contributor Author

Looks great, thank Liang. How do the HMC and grid search results compare? Could be interesting to discuss.

Hi Ryan, here are two examples showing the comparison between MTUQ and HMC in moment tensor inversion (See also in https://github.com/Liang-Ding/seishmc)
HMC sampling can evaluate the solutions at the parameter space without relying on pre-defined grids.
mtuq_vs_hmc_DC
mtuq_vs_hmc_FMT

@rmodrak
Copy link
Member

rmodrak commented Jul 23, 2023

Thank you for posting this great comparison! Encouraging to see the multimodality over strike,dip,rake is well captured. Looking forward to trying these kinds of tests on my end too.

@rmodrak
Copy link
Member

rmodrak commented Jul 23, 2023

For now, the CI tests seem to be failing for some reason related to the CI script itself, not to the pull request modifications. Hoping I or others can this resolve this soon.

@rmodrak rmodrak merged commit a1134a8 into uafgeotools:master Jul 27, 2023
1 check failed
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