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.1.0.tar.gz (27.1 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.1.0-py3-none-any.whl (27.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pyrff-2.1.0.tar.gz
Algorithm Hash digest
SHA256 90fa77c976c1db07980be510cf80ee7ce68afdd87bd8071003b6e96a00b16dac
MD5 eefa62de40126739c69cb0eecac109eb
BLAKE2b-256 dfafc18d30b76e09653c9066346f90f9ead73d7c646f7a6dd015743f9354532b

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyrff-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c1182646727db64898add4161512a9844238bf16ee9ea47273db1f9690943364
MD5 d56ee544d729c95c90a40747ae0ebcce
BLAKE2b-256 d266e17ddc91de0aae90a6ee720e526f61f618c79e0d4d5dfb739c35f643f6f0

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