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 PyMC 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.2.0.tar.gz (28.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyrff-2.2.0-py3-none-any.whl (29.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyrff-2.2.0.tar.gz
  • Upload date:
  • Size: 28.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for pyrff-2.2.0.tar.gz
Algorithm Hash digest
SHA256 90e676e6ecf25548cab5a90eebc016d07df1e75c1f235fd93117e8bf71ae2e0f
MD5 2ff4ecbedb098517f71845330b146a28
BLAKE2b-256 4314cc677fde0904c1eaf2cfcf27c8dedd01d176c5247af8e893751acdf62b59

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyrff-2.2.0-py3-none-any.whl
  • Upload date:
  • Size: 29.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for pyrff-2.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eb2af25ec17157c46f0374175868cf76ca8084c4d06f2db3a744e6db8e16c200
MD5 484b1e82d697073995165feb933bc089
BLAKE2b-256 dadac3ebaa76c5252698b96290c1ef027ee7bad37f9a45d8467cb6df9a743872

See more details on using hashes here.

Supported by

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