Skip to main content

snowline

Fit and compare models very quickly. MCMC-free.

https://img.shields.io/pypi/v/snowline.svg https://github.com/JohannesBuchner/snowline/actions/workflows/tests.yml/badge.svg Documentation Status

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:

https://johannesbuchner.github.io/snowline/

Licence

GPLv3 (see LICENCE file). If you require another license, please contact me.

Icon made by Vecteezy.

Other projects

See also:

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

Metadata

Release files for snowline 0.6.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for snowline 0.6.6
File Size Uploaded Provenance
snowline-0.6.6.tar.gz 20.7 kB Without provenance Details

Release files / snowline-0.6.6.tar.gz

Download URL snowline-0.6.6.tar.gz
Size 20.7 kB
Tags Source
SHA-256 checksum
How to use checksums
6304d1c2f11911be0dc2c7a6a33027aa67150307debfa4f60a50b2fa75e70918
BLAKE2b-256 checksum
How to use checksums
8ec27085414101af2723c8fa49d41720e07cc93b6de6ed3195a005ff19c1d240
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Security for snowline 0.6.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page