Mahout
  1. Mahout
  2. MAHOUT-882

TopItems.getTopUsers ignores rescoring

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.6
    • Component/s: None
    • Labels:
      None

      Description

      I believe TopUsers.getTopUsers() is not properly handling the rescoredSimilarity:

      TopItems.getTopUsers:
      double rescoredSimilarity = rescorer == null ? similarity : rescorer.rescore(userID, similarity);
            if (!Double.isNaN(rescoredSimilarity) && (!full || rescoredSimilarity > lowestTopValue)) {
              topUsers.add(new SimilarUser(userID, similarity));
      

      It is checking rescoredSimilarity for everything, but then not passing it in like getTopItems does.

        Activity

          People

          • Assignee:
            Grant Ingersoll
            Reporter:
            Grant Ingersoll
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development