package gpr

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

Module Eval.TrainedSource

Trained model - requires targets

Sourcetype t

Type of trained models

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

calc model ~targets

  • returns

    trained model given model and targets.

Sourceval calc_mean_coeffs : t -> Lacaml.D.vec

calc_mean_coeffs trained

  • returns

    the vector of coefficients for computing posterior means.

Sourceval 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).

Sourceval get_model : t -> Model.t

get_model trained

  • returns

    the model associated with the trained model.

Sourceval get_targets : t -> Lacaml.D.vec

get_targets trained

  • returns

    targets used for training trained.

OCaml

Innovation. Community. Security.