Skip to content

UQUH/GPyS

Repository files navigation

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

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.

Footnotes

  1. this package is created and maintained by Ruda Zhang and Taiwo Adebiyi of the UQ-UH Lab.

About

Gaussian Process Subspace (GPS) prediction, a Python implementation.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors