You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Julien Aymé (JIRA)" <ji...@apache.org> on 2012/10/12 12:05:03 UTC

[jira] [Commented] (MAHOUT-1100) [PATCH] ArrayIndexOutOfBoundsException in TreeClusteringRecommender2.java

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

Julien Aymé commented on MAHOUT-1100:
-------------------------------------

You're welcome. It was indeed an easy one. What is not easy is to prevent the infinite loop in buildClusters (see the comment of the first test in the attached test case). Do you have an idea of how to fix it? Maybe some checks that no variable state has changed between two consecutive calls, and so it will be stuck in the loop... I'll try to look into it later.
                
> [PATCH] ArrayIndexOutOfBoundsException in TreeClusteringRecommender2.java
> -------------------------------------------------------------------------
>
>                 Key: MAHOUT-1100
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-1100
>             Project: Mahout
>          Issue Type: Bug
>          Components: Collaborative Filtering
>    Affects Versions: 0.7, 0.8
>            Reporter: Julien Aymé
>            Assignee: Sean Owen
>            Priority: Trivial
>              Labels: patch, test
>             Fix For: 0.8
>
>         Attachments: stacktrace.txt, TreeClusteringRecommender2.java.patch, TreeClusteringRecommender2Test.java.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Hi, I found an ArrayIndexOutOfBoundsException when trying the TreeClusteringRecommender2, in method mergeClosestClusters (stacktrace attached).
> So here is a patch to fix it.
> The patch is trivial.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira