Uploaded image for project: 'Mahout'
  1. Mahout
  2. MAHOUT-1303

GenericItemBasedRecommender.estimate(id) method confusing (line 347-349)

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Not A Problem
    • Affects Version/s: 0.9
    • Fix Version/s: 0.9
    • Labels:
      None

      Description

      --------
      if (excludeItemIfNotSimilarToAll || !Double.isNaN(estimate))

      { -- line 347 average.addDatum(estimate); }

      line 347 seems logic confusing,

      if excludeItemIfNotSimilarToAll == true, -> always add data into average, doesn't matter what the data is , Nan ???

        Attachments

        1. MAHOUT-1303.patch
          0.5 kB
          Suneel Marthi

          Activity

            People

            • Assignee:
              smarthi Suneel Marthi
              Reporter:
              chszwu chsz wu
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: