Repository navigation
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 fromtypingand
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 anddocsdependencies. A new CI job checks types statically with ty
(uv run poe typecheck).
Added
- GEV likelihoods and return levels for extremes.
likelihoods.GEVputs a
latent GP on the location of a generalised extreme value distribution, and
HeteroscedasticGEVadds a second latent GP for the scale. The new
distributions.GeneralisedExtremeValueis stable at the Gumbel limit, has an
accuratesfandisf, and an optional support continuation that keeps the
log density finite for inference.return_level_samplesand
return_period_samplesgive posterior samples;gev_return_level,
gev_return_periodandGridSpec.scattergive 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 exampleGHQuadratureIntegrator(10),
were different pytrees:jax.vmapcould not stack them, and a jit-compiled
function compiled again for each one.
Full diff: v1.1.0...v1.2.0