Skip to main content

A collection of tools for analysing cmdspanpy output, written in Python

Project description

Tools for cmdstanpy

This is a collection of functions for analysing output of cmdstanpy library, written in Python.

from tarpan.cmdstanpy import analyse

model = CmdStanModel(stan_file="your_model.stan")
fit = model.sample(data=your_data)
analyse(fit)  # Save summaries, traceplots and histograms

Tarpan's includes functions for making:

  • traceplots of samples,

  • text and plots of the summaries of model parameters,

  • histograms of posterior distributions of parameters.

Picture of Tarpan

The only known illustration of a tarpan made from life, depicting a five month old colt (Borisov, 1841). Source: Wikimedia Commons.

Setup

pip install tarpan

🐴🐴🐴

This work is dedicated to Tarpan, an extinct subspecies of wild horse.

The unlicense

This work is in public domain.

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

tarpan-0.1.1.tar.gz (10.2 kB view hashes)

Uploaded Source

Built Distribution

tarpan-0.1.1-py3-none-any.whl (12.0 kB 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