Independence

abstract class Independence

Computes the measure of divergence from independence for DFI scoring functions.

See http://trec.nist.gov/pubs/trec21/papers/irra.web.nb.pdf for more information on different methods.

Inheritors

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
abstract fun score(freq: Double, expected: Double): Double

Computes distance from independence

Link copied to clipboard
abstract override fun toString(): String