module Variance:sig
..end
type
t
val calc : Interfaces.Sigs.Eval.Co_variance_predictor.t ->
sigma2:float ->
Interfaces.Sigs.Eval.Input.t -> t
calc co_variance_predictor ~sigma2 input
input
given mean_predictor
and noise level sigma2
.val get : ?predictive:bool -> t -> float
get ?predictive variance
variance
as a float.
If predictive
is true
, then the noise level will be added.predictive
: default = true