package owl

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t =
  1. | Cosine
  2. | Euclidean
  3. | KL_D
val to_string : t -> string
val kl_distance : 'a -> 'b -> float
val cosine_distance : ('a * float) array -> ('a * float) array -> float
val inner_product : ('a * float) array -> ('a * float) array -> float
val inner_product_fast : ('a * float) array -> ('a * float) array -> float
val euclidean_distance : ('a * float) array -> ('a * float) array -> float
val distance : t -> ('a * float) array -> ('a * float) array -> float
OCaml

Innovation. Community. Security.