Gaussian Process Regression for Python/Numpy
Python C++ Jupyter Notebook
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
aistats data munging.ipynb


This is very preliminary documentation, will be improved in a final release.

To install: set up a Python virtualenv with the packages specified in requirements.txt.

To compile the C++ components (requires boost_python): python build_ext --inplace

To test: python test/

To train hyperparameters on a subset of 5000 training points, for a model with 20 inducing points learned during the optimization:
python experiments/code/ seismic_tt_ASAR --n-hyper=5000 -f 20 --optimize-xu

To train hyperparameters for an SE model on a subset of 5000 training points:
python experiments/code/ seismic_tt_ASAR --n-hyper=5000 --se

(details of initial values, priors, and so on are hard-coded in

The trained hyperparameters are saved to experiments/models/<dataset_name>/<model_type>/hyperparams_5000.pkl.

Given learned hyperparameters, to train a model and compute predictive performance:
python experiments/code/ seismic_tt_ASAR csfic20 5000

To measure runtimes for posterior variances:
python experiments/code/ seismic_tt_ASAR csfic20 5000