You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Suneel Marthi (JIRA)" <ji...@apache.org> on 2013/07/25 14:25:49 UTC

[jira] [Updated] (MAHOUT-1157) AbstractCluster.formatVector iteration bug.

     [ https://issues.apache.org/jira/browse/MAHOUT-1157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Suneel Marthi updated MAHOUT-1157:
----------------------------------

    Fix Version/s: 0.8
    
> AbstractCluster.formatVector iteration bug.
> -------------------------------------------
>
>                 Key: MAHOUT-1157
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-1157
>             Project: Mahout
>          Issue Type: Bug
>          Components: Clustering
>    Affects Versions: 0.7
>            Reporter: Adam Bozanich
>             Fix For: 0.8
>
>         Attachments: mahout.patch
>
>
> AbstractCluster.formatVector's use of the size field of the given vector causes problems when the vector is sparse.
> I clustered a handful of vectors which had been initialized with a cardinality of Integer.MAX_VALUE. Running seqdump on the resulting clusteredPoints took over four minutes.  This is because formatVector() was iterating over the entire integer space for every vector.

--
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