Skip to content

GPJax v1.2.0

Latest

Choose a tag to compare

@github-actions github-actions released this 25 Nov 20:38
65eaea2

Changed

  • GPJax supports Python 3.12 to 3.14. GPJax does not support Python 3.11.
    CI tests Python 3.12, 3.13 and 3.14.
  • beartype is no longer a runtime dependency. Installing GPJax does not
    install beartype. The library imports its typing names from typing and
    collections.abc. The test suite and the example notebooks still check array
    shapes at runtime with the jaxtyping import hook and beartype, which are now
    dev and docs dependencies. A new CI job checks types statically with ty
    (uv run poe typecheck).

Added

  • GEV likelihoods and return levels for extremes. likelihoods.GEV puts a
    latent GP on the location of a generalised extreme value distribution, and
    HeteroscedasticGEV adds a second latent GP for the scale. The new
    distributions.GeneralisedExtremeValue is stable at the Gumbel limit, has an
    accurate sf and isf, and an optional support continuation that keeps the
    log density finite for inference. return_level_samples and
    return_period_samples give posterior samples; gev_return_level,
    gev_return_period and GridSpec.scatter give levels and labelled maps.

Fixed

  • Likelihoods with equal integrators are now equal pytrees. An integrator
    compares by its type and its settings. Before, two likelihoods that were built
    with the same explicit integrator, for example GHQuadratureIntegrator(10),
    were different pytrees: jax.vmap could not stack them, and a jit-compiled
    function compiled again for each one.

Full diff: v1.1.0...v1.2.0