You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/06/03 15:53:38 UTC

[jira] [Commented] (MAHOUT-1642) Iterator class within SimilarItems class always misses the first element

    [ https://issues.apache.org/jira/browse/MAHOUT-1642?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14570846#comment-14570846 ] 

ASF GitHub Bot commented on MAHOUT-1642:
----------------------------------------

Github user fape commented on the pull request:

    https://github.com/apache/mahout/pull/77#issuecomment-108430249
  
    Could you please someone tell me why this was closed without merged?


> Iterator class within SimilarItems class always misses the first element
> ------------------------------------------------------------------------
>
>                 Key: MAHOUT-1642
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-1642
>             Project: Mahout
>          Issue Type: Bug
>          Components: Collaborative Filtering
>            Reporter: Guohua Hao
>              Labels: legacy
>
> In the next() function of SimilarItemsIterator class within SimilarItems class, variable 'index' is incremented before returning the actual element at that position, therefore the first element when iterating will always be missed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)