Skip to main content
.. image:: https://travis-ci.org/hammerlab/stanity.svg
:target: https://travis-ci.org/hammerlab/stanity
:alt: build status
.. image:: https://coveralls.io/repos/github/hammerlab/stanity/badge.svg?branch=master
:target: https://coveralls.io/github/hammerlab/stanity
:alt: coverage
.. image:: https://badge.fury.io/py/stanity.svg
:target: https://badge.fury.io/py/stanity

stanity
=========
python convenience functions for working with Stan models (via pystan)

Functionality:

stanity.fit
thin wrapper around ``pystan.stan`` that caches compiled models
stanity.psisloo
thin wrapper around ``psisloo`` (implemented in https://github.com/avehtari/PSIS/blob/master/py/psis.py)
stanity.loo_compare
compare model fit using PSIS-LOO, similar to methods implemented in the R package loo

Installation
-------------

Install from pip:

::

pip install stanity

::

Or, from a git checkout, run:

::

pip install .

To run the tests:

::

nosetests

Metadata

Release files for stanity 0.1.4

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

Source distribution (sdist)

Source distribution for stanity 0.1.4
File Size Uploaded Provenance Actions
stanity-0.1.4.tar.gz 25.9 kB Without provenance Details for stanity-0.1.4.tar.gz

Release files / stanity-0.1.4.tar.gz

Download URL stanity-0.1.4.tar.gz
Size 25.9 kB
Tags Source
SHA-256 checksum
How to use checksums
3b62327518e85587ddbae605c1f5fe6280caf6337ae84fe16958ab9265719028
BLAKE2b-256 checksum
How to use checksums
5d8469fa2281acbbb4e44fbbdc9e0198803121dda9f3c1da5f054ead8000a809
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for stanity 0.1.4

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.4 This release

1 release file No provenance

0.1.0

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