Gaussian Process Subspace Prediction
Project description
What is GPyS?
This is a prototypical implementation of Gaussian Process Subspace (GPS) Prediction in the Python programming language. For the original research article documenting the method, see the Citation section.
Table of Contents
Citation
- Ruda Zhang, Simon Mak, and David Dunson. Gaussian Process Subspace Prediction for Model Reduction. SIAM Journal on Scientific Computing, 2022. https://epubs.siam.org/doi/10.1137/21M1432739
Installation
Install the package[^1] via pip using the following command:
pip install GPyS==0.1.2
Example Use
After installing the package you can load all modules as shown below:
from GPyS import GPyS_preprocessor, GPyS_prediction, GPyS_LOOCV_error
For GPS Preprocessor:
- Note that only
GPyS_preprocessor.Preprocessor.setup(X)takes in argument X and this must be called first before any other functions - The remaining functions merely return preprocessing quantities of interests
For GPS Hyperparameter Training:
- Utilize
GPyS_LOOCV_error.LOOCV.hSSDist(length)method for the objective function computation at a given (default) length scale - Please take a look at the LOOCV_script.py to see an example computation of optimal lengthscale for GPS.
-
- Also, all the functions can be independently called here.
For GPS Prediction:
- Call
GPyS_prediction.Prediction.GPS_Prediction()to immediately obtain prediction results - Also, all the functions can be independently called here.
[^1]: this package is created and maintained by Ruda Zhang and Taiwo Adebiyi of the UQ-UH Lab.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file GPyS-0.1.2.tar.gz.
File metadata
- Download URL: GPyS-0.1.2.tar.gz
- Upload date:
- Size: 21.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f75489f65ddc3c8a11ad0c062958b6a179d910093a03802b868530f48b494322
|
|
| MD5 |
5bf78f68270ac69e5fbb01d580c7524b
|
|
| BLAKE2b-256 |
4dff8f54e63b54edaddf58c264947c6f8d9c0e928fb15ad79f6279628d77bff2
|
File details
Details for the file GPyS-0.1.2-py3-none-any.whl.
File metadata
- Download URL: GPyS-0.1.2-py3-none-any.whl
- Upload date:
- Size: 21.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
89cb4b1b2db64cbd84794d30d7dd756290496ce9679529d1df648331eb7d6d2e
|
|
| MD5 |
e0f46acb3ad8e8f20e9e85d6b25f9f6c
|
|
| BLAKE2b-256 |
64d5ffb919c5c2db19fac092f8d3873b9de6ca7f60f8b5fa44770739985ee2fc
|