package modelkit

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

Module Modelkit.Score_aggregation

Stable O(scores) population aggregation with O(1) scratch.

Empty arrays and infinities are typed failures. For NaN values, Error fails, Return_nan returns NaN summary statistics, and Use_fallback substitutes zero.

type t = {
  1. count : int;
  2. mean : float;
  3. standard_deviation : float;
  4. minimum : float;
  5. maximum : float;
}
val summarize : ?undefined:Undefined_metric_policy.t -> float array -> (t, Error.t) result