Skip to main content

Graph Random Features for Scalable Gaussian Processes (GRF-GP)

Project description

Fast-Graph-GP

Fast-Graph-GP is the package for performing fast Gaussian Process (GP) inference on graphs. Internally, it uses Graph Random Features (GRFs) to compute a unbiased & sparse estimate of a family of well-known graph node kernels. It further uses path-wise conditioning to leverage the sparsity of the kernel approximation, enabling you to perform GP model train / inference in $\mathcal{O}(N^{3/2})$ time and $\mathcal{O}(N)$ space complexity.

This package is in beta. Package development TODOs:

  • support graph GP inference / training with GRFs
  • supoort low-rank GRF with Johnson-Lindenstrauss Transform (JLT)
  • support solving low-rank linear system solver using Woodbury formula
  • support GRF++ samplers

Examples

For a detailed example of training and using a Graph GP model, refer to the example notebook.

Installation

Install Fast-Graph-GP via pip:

pip install fast-graph-gp

Documentation

Hosted documentation is available at:

https://matthewzhang473.github.io/Fast-Graph-GP/index.html

Citing Us

If you use Fast-Graph-GP, please cite the following papers:

@article{zhang2025graph,
title={Graph random features for scalable Gaussian processes},
author={Zhang, Matthew and Lin, Jihao Andreas and Choromanski, Krzysztof and Weller, Adrian and Turner, Richard E and Reid, Isaac},
journal={arXiv preprint arXiv:2509.03691},
year={2025}
}

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

fast_graph_gp-0.1.3.tar.gz (14.5 kB view details)

Uploaded Source

Built Distribution

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

fast_graph_gp-0.1.3-py3-none-any.whl (16.9 kB view details)

Uploaded Python 3

File details

Details for the file fast_graph_gp-0.1.3.tar.gz.

File metadata

  • Download URL: fast_graph_gp-0.1.3.tar.gz
  • Upload date:
  • Size: 14.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.5

File hashes

Hashes for fast_graph_gp-0.1.3.tar.gz
Algorithm Hash digest
SHA256 6424649cbf16969c84a53ce5b169349d01fd15725050b0b9ecd5c8fd53e336df
MD5 fb4dfa84eab948cbb8ae071f819981ba
BLAKE2b-256 3bb215da1ba9e6f38872194784bf4628884b8894419f40efb556540b21d12f78

See more details on using hashes here.

File details

Details for the file fast_graph_gp-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: fast_graph_gp-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 16.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.5

File hashes

Hashes for fast_graph_gp-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 56565f36730ceadb81001f0ccffb6ea2d1b48cc5a5894fe75b25b9c17c564a33
MD5 c5d38da33b06f0256387f338a1c4a140
BLAKE2b-256 851c170100b9cd9b5f501969d21b8c74dafc48602dc3e597bb4fa431a39c4cab

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