package oml

  1. Overview
  2. Docs

Compute running statitics using recurrence equations.

include module type of Oml_online
type t = {
  1. size : int;
  2. last : float;
  3. max : float;
  4. min : float;
  5. sum : float;
  6. sum_sq : float;
  7. mean : float;
  8. var : float;
}
val empty : t
val init : ?size:int -> float -> t
type update = {
  1. n_mean : float;
  2. n_var : float;
}
module type Update_rules = sig ... end
module Make (Update : Update_rules) : sig ... end
val update : ?size:int -> t -> float -> t
val join : t -> t -> t
OCaml

Innovation. Community. Security.