kazewong / flowMC

Normalizing-flow enhanced sampling package for probabilistic inference in Jax
https://flowmc.readthedocs.io/en/main/
MIT License
200 stars 23 forks source link

New script to generate useful plots #179

Closed Qazalbash closed 4 months ago

Qazalbash commented 4 months ago

This PR contains a script that generates the plots of,

This PR also fixes #178.

The following plots are generated by the script.

Local Acceptance

![image](https://github.com/kazewong/flowMC/assets/62182585/304e03ad-90d1-4acc-a03a-e5c1be732ba2)

Global Acceptance

![image](https://github.com/kazewong/flowMC/assets/62182585/68fdb003-ab36-42f6-b010-9f0bc728d410)

Logarithm of posterior probability

![image](https://github.com/kazewong/flowMC/assets/62182585/4f6f5de7-57fd-47f9-b973-787af60206ed)

Loss of Normalizing Flow

![image](https://github.com/kazewong/flowMC/assets/62182585/7b92fd7c-304f-46b3-bedb-1602465e61e3)