Smoke render: optimisation and MCMC are shrunk for CI speed, so figures and diagnostics are not publication-fidelity. The production docs are built with full-length inference.

GPJax
  • PyPI
/

Getting started

  • Installation
  • Design Principles
  • The sharp bits
  • New to Gaussian Processes?
  • Introduction to Kernels
  • Regression
  • Classification
  • Count data regression
  • Natural Gradients

Accelerating Gaussian processes

  • Sparse Gaussian Process Regression
  • Sparse Stochastic Variational Inference
  • Natural Gradients in Practice
  • Dual Parameterisation of Sparse GPs (t-SVGP)
  • State-Space (Markovian) Gaussian Processes
  • Scalable Multi-Output GPs with OILMM

Applied modelling

  • Gaussian Processes Barycentres
  • Graph Kernels
  • Heteroscedastic Inference
  • Multi-Output Gaussian Processes
  • Orthogonal Additive Kernels
  • Gaussian Processes for Vector Fields and Ocean Current Modelling
  • Spatial Modelling with Composable Gaussian Processes
  • UCI Data Benchmarking

Guides for customisation

  • Kernel Guide
  • Likelihood guide
  • Deep Kernel Learning
  • Joint Inference with Numpyro
  • Backend Module Design

Reference

  • API Reference
    • Dataset
    • Distributions
    • Gaussian Processes
    • Kernels
    • Likelihoods
    • Mean Functions
    • Parameters
    • Objectives
    • Fitting
    • Variational Families
    • Models
    • State-Space GPs
    • Linear Algebra
    • Integrators
    • Scan
    • Summary
    • Typing
    • Citation
  • Glossary

Migrations

  • Migrations

Project

  • Contributing
  • GPJax Governance Document
  • Code of Conduct
  • References

On this page

  • Constant
  1. GPJax /
  2. API Reference /
  3. Mean Functions /
  4. Constant
View as Markdown Open in ChatGPT Open in Claude

Constant#

class gpjax.mean_functions.Constant(constant=0.0)[source]#

Bases: AbstractMeanFunction

Constant mean function.

A constant mean function. This function returns a repeated scalar value for all inputs. The scalar value itself can be treated as a model hyperparameter and learned during training but defaults to 1.0.

Expand for references to gpjax.mean_functions.Constant

Backend Module Design

fit

fit_natgrads

conjugate_loocv

Parameters:

constant (Any)

Previous
CombinationMeanFunction
Next
ProductMeanFunction

2022-2026, The GPJax Contributors

Made with Sphinx and Shibuya theme.