Skip to main content

Exploratory analysis of Bayesian models

Project description

Build Status Coverage Status Code style: black Gitter chat DOI DOI

ArviZ

ArviZ (pronounced "AR-vees") is a Python package for exploratory analysis of Bayesian models. Includes functions for posterior analysis, model checking, comparison and diagnostics.

Documentation

The ArviZ documentation can be found in the official docs. First time users may find the quickstart to be helpful. Additional guidance can be found in the usage documentation.

Installation

Stable

ArviZ is available for installation from PyPI. The latest stable version can be installed using pip:

pip install arviz

Development

The latest development version can be installed from the master branch using pip:

pip install git+git://github.com/arviz-devs/arviz.git

Another option is to clone the repository and install using git and setuptools:

git clone https://github.com/arviz-devs/arviz.git
cd arviz
python setup.py install

Gallery

Ridge plot Parallel plot Trace plot Density plot
Posterior plot Joint plot Posterior predictive plot Pair plot
Energy Plot Violin Plot Forest Plot Autocorrelation Plot

Dependencies

ArviZ is tested on Python 3.5 and 3.6, and depends on NumPy, SciPy, xarray, and Matplotlib.

Citation

If you use ArviZ and want to cite it please use DOI

Here is the citation in BibTeX format

@article{arviz_2019,
	title = {{ArviZ} a unified library for exploratory analysis of {Bayesian} models in {Python}},
	author = {Kumar, Ravin and Colin, Carroll and Hartikainen, Ari and Martin, Osvaldo A.},
	journal = {The Journal of Open Source Software},
	year = {2019},
	doi = {10.21105/joss.01143},
	url = {http://joss.theoj.org/papers/10.21105/joss.01143},
}

Contributions

ArviZ is a community project and welcomes contributions. Additional information can be found in the Contributing Readme

Code of Conduct

ArviZ wishes to maintain a positive community. Additional details can be found in the Code of Conduct

Developing

A typical development workflow is:

  1. Install project requirements: pip install -r requirements.txt
  2. Install additional testing requirements: pip install -r requirements-dev.txt
  3. Write helpful code and tests.
  4. Verify code style: ./scripts/lint.sh
  5. Run test suite: pytest arviz/tests
  6. Make a pull request.

There is also a Dockerfile which helps for isolating build problems and local development.

  1. Install Docker for your operating system
  2. Clone this repo,
  3. Run ./scripts/container.sh --build

This will build a local image with the tag arviz. After building the image tests can be executing by running
docker run arviz bash pytest arviz/tests

An interactive shell can be started by running
docker run -it arviz /bin/bash
The correct conda environment will be activated automatically.

Project details


Download files

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

Source Distribution

arviz-0.3.3.tar.gz (1.3 MB view details)

Uploaded Source

Built Distribution

arviz-0.3.3-py3-none-any.whl (1.3 MB view details)

Uploaded Python 3

File details

Details for the file arviz-0.3.3.tar.gz.

File metadata

  • Download URL: arviz-0.3.3.tar.gz
  • Upload date:
  • Size: 1.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.29.1 CPython/3.6.7

File hashes

Hashes for arviz-0.3.3.tar.gz
Algorithm Hash digest
SHA256 a1967b56d7bf1ee4464788455c1a4fa0e2f994aef7d49c3b3dcc981f4f376727
MD5 14598f257bf4502e441d8d0cc860f8cf
BLAKE2b-256 84aeb41759409637abccd15eb75fee92272e11344cb5e1995a057faa0c0e24ca

See more details on using hashes here.

File details

Details for the file arviz-0.3.3-py3-none-any.whl.

File metadata

  • Download URL: arviz-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.29.1 CPython/3.6.7

File hashes

Hashes for arviz-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 12c30a10c02943c3c3a5605cd38efa478301a5bdc0ead5197d29c2a95baf573f
MD5 6997df7926c30456de878072d999fa00
BLAKE2b-256 c3301b676ab41df38d3834c57cbaa2858eddef2fdc2c29659961c15660294742

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page