NormalizationH3

Dirichlet Priors normalization

Constructors

Link copied to clipboard
constructor()
constructor(mu: Float)

Creates NormalizationH3 with the supplied parameter mu.

Properties

Link copied to clipboard
val mu: Float

Functions

Link copied to clipboard
open override fun explain(stats: BasicStats, tf: Double, len: Double): Explanation

Returns an explanation for the normalized term frequency.

Link copied to clipboard
open override fun tfn(stats: BasicStats, tf: Double, len: Double): Double

Returns the normalized term frequency.

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

Subclasses must override this method to return the code of the normalization formula. Refer to the original paper for the list.