package oml

  1. Overview
  2. Docs
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;
}
type mean_update = size:int -> n_sum:float -> n_sum_sq:float -> n_size:float -> t -> float -> float
type var_update = n_mean:float -> n_sum:float -> n_sum_sq:float -> n_size:float -> t -> float
val empty : t
val init : ?size:int -> float -> t
val update : ?size:int -> ?mean_update:mean_update -> ?var_update:var_update -> t -> float -> t
val join : ?mean_update:mean_update -> ?var_update:var_update -> t -> t -> t
OCaml

Innovation. Community. Security.