actrone-memory
    Preparing search index...

    Function reciprocalRankFusion

    • Weighted Reciprocal Rank Fusion. score(d) = Σ_channel weight · 1 / (k + rank) with 1-based rank; an id absent from a channel contributes nothing there. Weights default to 1.0 each.

      Parameters

      • rankings: readonly (readonly string[])[]
      • __namedParameters: { weights?: readonly number[]; k?: number } = {}

      Returns Map<string, number>