Skip to main content

Gaussian processes on graphs and lattices in Stan.

Project description

gptoolsStan gptools: Python

gptools is a minimal package to publish Stan code for efficient Gaussian process inference. The package can be used with the cmdstanpy interface for Stan in Python.

Getting Started

  1. Install cmdstanpy and cmdstan if you haven't already (see here for details).
  2. Install gptools from PyPI by running pip install gptools-stan from the command line.
  3. Compile your first model.
from cmdstanpy import CmdStanModel
from gptools.stan import get_include

model = CmdStanModel(
  stan_file="path/to/your/model.stan",
  stanc_options={"include-paths": get_include()},
)

For an end-to-end example, see this notebook.

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

gptools_stan-1.0.0.tar.gz (17.8 kB view details)

Uploaded Source

Built Distribution

gptools_stan-1.0.0-py3-none-any.whl (19.9 kB view details)

Uploaded Python 3

File details

Details for the file gptools_stan-1.0.0.tar.gz.

File metadata

  • Download URL: gptools_stan-1.0.0.tar.gz
  • Upload date:
  • Size: 17.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for gptools_stan-1.0.0.tar.gz
Algorithm Hash digest
SHA256 e07e3a38ee8eeacc1915a5ad56037efab5303542010bf67206ba844f577523b2
MD5 208df976799a81cba330db17493ac7b2
BLAKE2b-256 e0bd35a8e0e487807973ce899b17c28fb469e0bf4a02cf2f85f4b8564c60c3e6

See more details on using hashes here.

Provenance

The following attestation bundles were made for gptools_stan-1.0.0.tar.gz:

Publisher: python.yml on onnela-lab/gptools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gptools_stan-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: gptools_stan-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 19.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for gptools_stan-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dd7e0309e8831d7f6455686205102d21825a7b52f48fd6b8c837313678e2cc4f
MD5 2c722445c2449f08b0c156c3ead37917
BLAKE2b-256 5b9cfa8051bf8c1eea4c1a71d4e859e61b774cc38abe47d57162d3e7fcd9e6de

See more details on using hashes here.

Provenance

The following attestation bundles were made for gptools_stan-1.0.0-py3-none-any.whl:

Publisher: python.yml on onnela-lab/gptools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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