Skip to main content

Exploratory analysis of Bayesian models

Project description

Build Status Coverage Status Code style: black

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.

Contributions

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

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. An interactive shell can be started by running docker run -it arviz /bin/bash. The correct conda environment will be activated automatically.

Code of Conduct

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

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.2.tar.gz (1.3 MB view hashes)

Uploaded Source

Built Distribution

arviz-0.3.2-py3-none-any.whl (1.3 MB view hashes)

Uploaded Python 3

Supported by

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