Implementation of random fourier feature (RFF) approximations and Thompson sampling.
Project description
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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
90fa77c976c1db07980be510cf80ee7ce68afdd87bd8071003b6e96a00b16dac
|
|
| MD5 |
eefa62de40126739c69cb0eecac109eb
|
|
| BLAKE2b-256 |
dfafc18d30b76e09653c9066346f90f9ead73d7c646f7a6dd015743f9354532b
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c1182646727db64898add4161512a9844238bf16ee9ea47273db1f9690943364
|
|
| MD5 |
d56ee544d729c95c90a40747ae0ebcce
|
|
| BLAKE2b-256 |
d266e17ddc91de0aae90a6ee720e526f61f618c79e0d4d5dfb739c35f643f6f0
|