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 package1 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.
-
this package is created and maintained by Ruda Zhang and Taiwo Adebiyi of the UQ-UH Lab. ↩
Release files for GPyS 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| GPyS-0.1.2.tar.gz | 21.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| GPyS-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 43.3 kB
Release files / GPyS-0.1.2.tar.gz
| Download URL | GPyS-0.1.2.tar.gz |
|---|---|
| Size | 21.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f75489f65ddc3c8a11ad0c062958b6a179d910093a03802b868530f48b494322
|
|
BLAKE2b-256 checksum How to use checksums |
4dff8f54e63b54edaddf58c264947c6f8d9c0e928fb15ad79f6279628d77bff2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.0
|
Release files / GPyS-0.1.2-py3-none-any.whl
| Download URL | GPyS-0.1.2-py3-none-any.whl |
|---|---|
| Size | 21.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
89cb4b1b2db64cbd84794d30d7dd756290496ce9679529d1df648331eb7d6d2e
|
|
BLAKE2b-256 checksum How to use checksums |
64d5ffb919c5c2db19fac092f8d3873b9de6ca7f60f8b5fa44770739985ee2fc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.0
|