Fit and compare complex models quickly. Laplace Approximation, Variational Bayes, Importance Sampling.
Project description
snowline
Fit and compare models very quickly. MCMC-free.
About
Posterior distributions and corner plots without MCMC? No dealing with convergence criteria?
Yes!
Tailored for low-dimensional (d<10) problems with a single mode, this package automatically finds the best fit and uses the local covariance matrix as a Laplace Approximation. Then Importance Sampling and Variational Bayes come in to improve from a single-gaussian approximation to more complex shapes. This allows sampling efficiently in some problems, and provides a estimate for the marginal likelihood.
This package is built on top the excellent (i)minuit and pypmc packages.
You can help by testing snowline and reporting issues. Code contributions are welcome. See the Contributing page.
Features
Pythonic. pip installable.
Easy to program for: Sanity checks with meaningful errors
Fast
MPI support
Usage
Read the full documentation at:
Licence
GPLv3 (see LICENCE file). If you require another license, please contact me.
Icon made by Vecteezy.
Other projects
See also:
UltraNest: https://johannesbuchner.github.io/UltraNest/
autoemcee: https://johannesbuchner.github.io/autoemcee/
Release Notes
0.4.0 (2020-03-07)
Improve robustness to poor Laplace approximations
0.3.0 (2020-05-07)
Numerical robustness
0.2.0 (2020-04-21)
Robustness improvements
Packaging and testing improvements
0.1.0 (2020-03-07)
First version
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file snowline-0.5.2.tar.gz
.
File metadata
- Download URL: snowline-0.5.2.tar.gz
- Upload date:
- Size: 32.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76dfaef1ed21cb5a93706f76cc9f4493ed36e1f9929cea85755532af5fee5597 |
|
MD5 | 01f684c50b0d7c689b0244d9c2c135ea |
|
BLAKE2b-256 | c460d2044a99440e600eddbfd5f5fec334a025067b42ab81126468ffad157cd9 |