package gpr

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Posterior variance for a single input

type t

Type of variance

val calc : Co_variance_predictor.t -> sigma2:float -> Input.t -> t

calc co_variance_predictor ~sigma2 input

  • returns

    variance for input given mean_predictor and noise level sigma2.

val get : ?predictive:bool -> t -> float

get ?predictive variance

  • returns

    the variance as a float. If predictive is true, then the noise level will be added.

  • parameter predictive

    default = true