Skip to main content

Gaussian process with spherical harmonic features in JAX

Project description

$GP \mathcal{f} Y_\ell^m$

A lightweight library in JAX for Gaussian process with spherical kernels and sparse spherical harmonic inducing features.

$GP \mathcal{f} Y_\ell^m$ is based on the simple flax.struct dataclass. It implements (Eleftheriadis et al. 2023), which revisits the Sparse Gaussian Process with Spherical Harmonic features from Dutordoir et al. 2020, and introduces:

  1. PolynomialDecay kernel with "continuous" depth.
  2. Sparse orthogonal basis derived from SphericalHarmonics features with phase truncation.

Installation

Latest (stable) release from PyPI

pip install gpfy

Development version

Alternatively, you can install the latest GitHub develop version. First create a virtual enviroment via conda:

conda create -n gpfy_env python=3.10.0
conda activate gpfy_env

Then clone a copy of the repository to your local machine and run the setup configuration in development mode:

git clone https://github.com/stefanosele/GPfY.git
cd GPfY
make install

This will automatically install all required dependencies.

Finally you can check the installation via running the tests:

make test

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

gpfy-0.7.0.tar.gz (2.9 MB view details)

Uploaded Source

Built Distribution

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

gpfy-0.7.0-py3-none-any.whl (2.9 MB view details)

Uploaded Python 3

File details

Details for the file gpfy-0.7.0.tar.gz.

File metadata

  • Download URL: gpfy-0.7.0.tar.gz
  • Upload date:
  • Size: 2.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for gpfy-0.7.0.tar.gz
Algorithm Hash digest
SHA256 821a6d1c08c61f9ab29c8d53a480cfb5b2f3836fecc621d6565d0002055e93ab
MD5 f804f416e6830de5750e7ea247fafd78
BLAKE2b-256 1bfefe9aa587da144a57c0a775f933507cbef83743c010d3fc29ee4c571e00de

See more details on using hashes here.

File details

Details for the file gpfy-0.7.0-py3-none-any.whl.

File metadata

  • Download URL: gpfy-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 2.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for gpfy-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 96167e2d484c8270dd0b372bae0b712991060f9824e70a299adf4b143e7428de
MD5 b897da4943db4ff16d6fa80bcb949931
BLAKE2b-256 088b10d3bb546f66ea9831860e6cf4965624759dc41c25b2dc13df1bc86802fa

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