98

GitHub - arviz-devs/arviz: Python package to plot and analyse samples from proba...

 5 years ago
source link: https://github.com/arviz-devs/arviz
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

68747470733a2f2f617276697a2d646576732e6769746875622e696f2f617276697a2f5f7374617469632f6c6f676f2e706e67

Build Status Coverage Status

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 official Arviz documentation can be found here https://arviz-devs.github.io/arviz/index.html

Installation

The latest 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 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.

Developing

A typical development workflow is:

  1. Install project requirements: pip install requirements.txt
  2. Install additional testing requirements: pip install 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/start_container.sh

This should start a local docker container called arviz, as well as a Jupyter notebook server running on port 8888. The notebook should be opened in your browser automatically (you can disable this by passing --no-browser). The container will be running the code from your local copy of arviz, so you can test your changes.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK