Gumbi: Gaussian Process Model Building Interface
Overview
Gumbi simplifies the steps needed to build a Gaussian Process model from tabular data. It takes care of shaping, transforming, and standardizing data as necessary while applying best practices and sensible defaults to the construction of the GP model itself. Taking inspiration from popular packages such as Bambi and Seaborn, Gumbi's aim is to allow quick iteration on both model structure and prediction visualization. Gumbi is primarily built on top of Pymc, though additional support for GPflow is planned.
Quickstart
Read in some data and store it as a Gumbi DataSet:
import gumbi as gmb
import seaborn as sns
cars = sns.load_dataset('mpg').dropna()
ds = gmb.DataSet(cars, outputs=['mpg', 'acceleration'], log_vars=['mpg', 'acceleration', 'weight', 'horsepower', 'displacement'])
Create a Gumbi GP object and fit a model that predicts mpg from horsepower:
gp = gmb.GP(ds)
gp.fit(outputs=['mpg'], continuous_dims=['horsepower']);
Make predictions and plot!
X = gp.prepare_grid()
y = gp.predict_grid()
gmb.ParrayPlotter(X, y).plot()
More complex GPs are also possible, such as correlated multi-input and multi-output systems. See the docs for more examples.
Installation
Via pip
pip install gumbi
Bleeding edge
pip install git+git://github.com/JohnGoertz/Gumbi.git@develop
Local developmenst
- Clone the repo and navigate to the new directory
git clone https://gitlab.com/JohnGoertz/gumbi gumbicd gumbi
- Create a new conda environment using mamba
conda install mambamamba install -f dev_environment.yaml
- Install
gumbiviapipin editable/development mode- From within the
gumbirepo pip install --editable ./
- From within the
- To update the
gumbimodule- From within the
gumbirepo git pull
- From within the
Metadata
Release files for gumbi 0.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gumbi-0.4.1.tar.gz | 5.5 MB | Without provenance | Details for gumbi-0.4.1.tar.gz |
Release files / gumbi-0.4.1.tar.gz
| Download URL | gumbi-0.4.1.tar.gz |
|---|---|
| Size | 5.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8d09394085836a8ef6523a44f2017939fbfd7b73691c7297dd15ad446a8e7c5b
|
|
BLAKE2b-256 checksum How to use checksums |
4f8a8abe5f753f3924abc9b53c3ca01aa5e1427061f4483f2ccabec07fadf27a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.9
|
Security for gumbi 0.4.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.