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

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

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Not A Problem
    • 0.9
    • 0.9
    • 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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment