Git Product home page Git Product logo

pac_gp's Introduction

PAC-GP

This is the companion code for the Gaussian process training method reported in the paper Learning Gaussian Processes by Minimizing PAC-Bayesian Generalization Bounds by David Reeb et al., NIPS 2018. The code allows the users to experiment with the proposed GP training method. Please cite the above paper when reporting, reproducing or extending the results.

Purpose of the project

This software is a research prototype, solely developed for and published as part of the publication cited above. It will neither be maintained nor monitored in any way.

Requirements

The PAC-GP core code depends on Tensorflow. For running the experiments, GPflow and sklearn are also required.

Usage

The PAC-GP interface is similar to the ones of GPy and GPFlow. Training and evaluation of PAC-GPs is demonstrated in pac_gp/pac_gp_example.py on a small synthetic dataset.

Reproducing PAC-GP results

The experiments reported in the publication can be reproduced by executing

python epsilon_study.py  --run --plot
python sparseGP_study.py --run --plot

for the dataset boston. Results are saved in the folders epsilon and ind_points.

If a similiar experiment shall be repeated on a different dataset, the easiest way is to write a new loading function in experiments/load_dataset.py. If one wishes to use PAC-GP in a different context the wrapper function compare in experiments/helpers.py may be used. It takes care of splitting into train/test, initialization, training and evaluation.

License

PAC-GP is open-sourced under the MIT license. See the LICENSE file for details.

For a list of other open source components included in PAC_GP, see the file 3rd-party-licenses.txt.

pac_gp's People

Contributors

andreasdoerr avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.