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

Uploaded Source

Built Distribution

pyrff-1.0.1-py3-none-any.whl (24.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyrff-1.0.1.tar.gz
  • Upload date:
  • Size: 11.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

File hashes

Hashes for pyrff-1.0.1.tar.gz
Algorithm Hash digest
SHA256 b0ea2b24f8716811c6686548d8d57a213c378305e7035fde7e3dd2824d18578a
MD5 44fbc66f58370d4f4869ab7596f9d730
BLAKE2b-256 71b9b11c8ca639381d4b2df88da1dc785fa29be97948f9db58afc91d7b33a3b1

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: pyrff-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 24.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

File hashes

Hashes for pyrff-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 45e4bf6da8526c34ba8bfe74ee0c6440f4a6b904907588b23e5612852499efbf
MD5 5f3f9463995f5a00994acb466de41f4b
BLAKE2b-256 a45b7320dca124264a580f876f5b462f57404af612b7f3e82f9d464cbb64226d

See more details on using hashes here.

Provenance

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