package prc

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

Binormal model

A Gaussian mixture model for which the precision-recall curve can be computed explicitly (see 1)

type t = {
  1. mu_pos : float;
  2. sigma_pos : float;
  3. mu_neg : float;
  4. sigma_neg : float;
  5. alpha : float;
}
val make : ?mu_pos:float -> ?sigma_pos:float -> ?mu_neg:float -> ?sigma_neg:float -> float -> t
val simulation : Gsl.Rng.t -> n:int -> t -> dataset
val curve : ?n:int -> t -> (float * float) array
val estimate : dataset -> t
val auc : t -> float
OCaml

Innovation. Community. Security.