Skip to main content

Implementation of random fourier feature (RFF) approximations and Thompson sampling.

Project description

PyPI version pipeline coverage DOI

pyrff: Approximating Gaussian Process samples with Random Fourier Features

This project is a Python implementation of random fourier feature (RFF) approximations [1].

It is heavily inspired by the implementations from [2, 3] and generalizes the implementation to work with GP hyperparameters obtained from any GP library.

Examples are given as Jupyter notebooks for GPs fitted with PyMC3 and scikit-learn:

Installation

pyrff is released on PyPI:

pip install pyrff

Usage and Citing

pyrff is licensed under the GNU Affero General Public License v3.0.

When using robotools in your work, please cite the corresponding software version.

@software{pyrff,
  author       = {Michael Osthege and
                  Kobi Felton},
  title        = {michaelosthege/pyrff: v2.0.1},
  month        = dec,
  year         = 2020,
  publisher    = {Zenodo},
  version      = {v2.0.1},
  doi          = {10.5281/zenodo.4317685},
  url          = {https://doi.org/10.5281/zenodo.4317685}
}

Head over to Zenodo to generate a BibTeX citation for the latest release.

References

  1. Hernández-Lobato, 2014 paper, code
  2. PES implementation in Cornell-MOE code
  3. Bradford, 2018 paper, code

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyrff-2.0.2.tar.gz (14.8 kB view details)

Uploaded Source

Built Distribution

pyrff-2.0.2-py3-none-any.whl (27.6 kB view details)

Uploaded Python 3

File details

Details for the file pyrff-2.0.2.tar.gz.

File metadata

  • Download URL: pyrff-2.0.2.tar.gz
  • Upload date:
  • Size: 14.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.7.13

File hashes

Hashes for pyrff-2.0.2.tar.gz
Algorithm Hash digest
SHA256 6c03a3e9fbef02bd8c1070d30f89da40d226307ef1b90c12c3a311d80a428738
MD5 57548b3d78087389c32810d761ee0076
BLAKE2b-256 adea2292a809b54fd067951cc6ad459d60dea4e5c6065207feaa9bb3147896aa

See more details on using hashes here.

File details

Details for the file pyrff-2.0.2-py3-none-any.whl.

File metadata

  • Download URL: pyrff-2.0.2-py3-none-any.whl
  • Upload date:
  • Size: 27.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.7.13

File hashes

Hashes for pyrff-2.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a34cc012899f4e1284f29e4e51365817ceb7dddba746be7d5c1e27afc9bc4935
MD5 1c7aac01f92ae3bbcafa86f2deac031b
BLAKE2b-256 a1d5a13b1d4c15fa43b5c0b40fea18adf6582443830e0c54263547be54e073d1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page