Gaussian processes on graphs and lattices in Stan.
Project description
gptoolsStan

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
- Install cmdstanpy and cmdstan if you haven't already (see here for details).
- Install gptools from PyPI by running
pip install gptools-stan
from the command line. - 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | e07e3a38ee8eeacc1915a5ad56037efab5303542010bf67206ba844f577523b2 |
|
MD5 | 208df976799a81cba330db17493ac7b2 |
|
BLAKE2b-256 | e0bd35a8e0e487807973ce899b17c28fb469e0bf4a02cf2f85f4b8564c60c3e6 |
Provenance
The following attestation bundles were made for gptools_stan-1.0.0.tar.gz
:
Publisher:
python.yml
on onnela-lab/gptools
-
Statement:
- Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
gptools_stan-1.0.0.tar.gz
- Subject digest:
e07e3a38ee8eeacc1915a5ad56037efab5303542010bf67206ba844f577523b2
- Sigstore transparency entry: 183560569
- Sigstore integration time:
- Permalink:
onnela-lab/gptools@69f0f3c9d246678cb1b63dc85ebb92576c016505
- Branch / Tag:
refs/heads/main
- Owner: https://github.com/onnela-lab
- Access:
public
- Token Issuer:
https://token.actions.githubusercontent.com
- Runner Environment:
github-hosted
- Publication workflow:
python.yml@69f0f3c9d246678cb1b63dc85ebb92576c016505
- Trigger Event:
push
- Statement type:
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd7e0309e8831d7f6455686205102d21825a7b52f48fd6b8c837313678e2cc4f |
|
MD5 | 2c722445c2449f08b0c156c3ead37917 |
|
BLAKE2b-256 | 5b9cfa8051bf8c1eea4c1a71d4e859e61b774cc38abe47d57162d3e7fcd9e6de |
Provenance
The following attestation bundles were made for gptools_stan-1.0.0-py3-none-any.whl
:
Publisher:
python.yml
on onnela-lab/gptools
-
Statement:
- Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
gptools_stan-1.0.0-py3-none-any.whl
- Subject digest:
dd7e0309e8831d7f6455686205102d21825a7b52f48fd6b8c837313678e2cc4f
- Sigstore transparency entry: 183560572
- Sigstore integration time:
- Permalink:
onnela-lab/gptools@69f0f3c9d246678cb1b63dc85ebb92576c016505
- Branch / Tag:
refs/heads/main
- Owner: https://github.com/onnela-lab
- Access:
public
- Token Issuer:
https://token.actions.githubusercontent.com
- Runner Environment:
github-hosted
- Publication workflow:
python.yml@69f0f3c9d246678cb1b63dc85ebb92576c016505
- Trigger Event:
push
- Statement type: