package gpr

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

Trained model - requires targets

type t

Type of trained models

val calc : Model.t -> targets:Lacaml.D.vec -> t

calc model ~targets

  • returns

    trained model given model and targets.

val calc_mean_coeffs : t -> Lacaml.D.vec

calc_mean_coeffs trained

  • returns

    the vector of coefficients for computing posterior means.

val calc_log_evidence : t -> float

calc_log_evidence trained

  • returns

    the log evidence for the trained model (includes contribution to log evidence by underlying model).

val get_model : t -> Model.t

get_model trained

  • returns

    the model associated with the trained model.

val get_targets : t -> Lacaml.D.vec

get_targets trained

  • returns

    targets used for training trained.