• Preparing search index...
  • The search index is not available
@andorsearch/significant-terms
  • @andorsearch/significant-terms
  • withBgZeroFloor

Function withBgZeroFloor

  • withBgZeroFloor(
        base: SignificanceHeuristic,
        floor?: number,
    ): SignificanceHeuristic

    Wrap a heuristic so any bgCount==0 is replaced with a floor (default 1). Good when BG is sampled and zeros are mostly “missingness”.

    Parameters

    • base: SignificanceHeuristic
    • floor: number = 1

    Returns SignificanceHeuristic

    • Defined in utils/computeSignificantTermsFromCounts.ts:78

Settings

Member Visibility
@andorsearch/significant-terms
  • Loading...

Generated using TypeDoc