package prbnmcn-stats

  1. Overview
  2. Docs

Distances and divergences between measures.

val kl : 'a mes -> 'a mes -> float

Kullbacak-Leibler divergence. Note that this will diverge if the two measures do not have the same support.

val lp : p:r -> 'a mes -> 'a mes -> r

Lp distance.

val linf : 'a mes -> 'a mes -> r

L-infinity distance

OCaml

Innovation. Community. Security.