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.

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.0.tar.gz (14.2 kB view details)

Uploaded Source

Built Distribution

pyrff-2.0.0-py3-none-any.whl (27.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyrff-2.0.0.tar.gz
  • Upload date:
  • Size: 14.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.7.9

File hashes

Hashes for pyrff-2.0.0.tar.gz
Algorithm Hash digest
SHA256 a6ba8d4b145351dbc3be20762f28fcedec840b6c3a01523a2dd89bdcd81afcec
MD5 24cab737670a3845963d3580777526a3
BLAKE2b-256 281b26dca6b4e976b590818fb3199d691a3531467acc3e06e2be776abbcf4a9d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyrff-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 27.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.7.9

File hashes

Hashes for pyrff-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b8c935d83c96c3da3c8e651efb750b905e45abda4256f97326ab819d44419382
MD5 5c92354e67441a82fde2e16cad0c93bb
BLAKE2b-256 5ccd85dc209fae89f46a0785522aada6210ca7230df8fda099cb2a7f99774dfe

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