Class IndependenceSaturated

  • public class IndependenceSaturated
    extends Independence
    Saturated measure of distance from independence

    Described as: "for tasks that require high recall against long queries"

    WARNING: This API is experimental and might change in incompatible ways in the next release.
    • Constructor Detail

      • IndependenceSaturated

        public IndependenceSaturated()
        Sole constructor.
    • Method Detail

      • score

        public double score​(double freq,
                            double expected)
        Description copied from class: Independence
        Computes distance from independence
        Specified by:
        score in class Independence
        freq - actual term frequency
        expected - expected term frequency