Bernoulli#

class gpjax.likelihoods.Bernoulli(integrator: 'AbstractIntegrator' = <gpjax.integrators.GHQuadratureIntegrator object at 0x7fb194977b90>)[source]#

Bases: AbstractLikelihood

Parameters:

integrator (AbstractIntegrator)

The probit link function of the Bernoulli likelihood.

Parameters:

f (Float[Array, "..."]) – Function values.

Returns:

The likelihood function.

Return type:

npd.Bernoulli

predict(dist)[source]#

Evaluate the pointwise predictive distribution.

Evaluate the pointwise predictive distribution, given a Gaussian process posterior and likelihood parameters.

Parameters:

dist ([npd.MultivariateNormal, GaussianDistribution].) – The Gaussian process posterior, evaluated at a finite set of test points.

Returns:

The pointwise predictive distribution.

Return type:

npd.Bernoulli