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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

stanity-0.1.3.tar.gz (24.7 kB view details)

Uploaded Source

File details

Details for the file stanity-0.1.3.tar.gz.

File metadata

  • Download URL: stanity-0.1.3.tar.gz
  • Upload date:
  • Size: 24.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for stanity-0.1.3.tar.gz
Algorithm Hash digest
SHA256 a6c584d2c44f211609ca038a53963e335ac80dc004be50efba113e964add561e
MD5 893ea3f7b2ce76572ef5ae6c4b5bf2bb
BLAKE2b-256 afe10e9cbf2a435c158b73f2db5b5fdcb92c9c0c580dc38375a3845c4ae81da3

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.4

1 file

This release

0.1.3 This release

1 file

0.1.2

1 file

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