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

Frank Scholten updated MAHOUT-564:
----------------------------------

    Attachment: MAHOUT-564.patch

Adds a computeConvergence method to KMeansClusterer which does use the 
distanceThreshold. Includes unit test.

> KMeansClusterer does not use distanceThreshold parameter in 
> testConvergence(Iterable<Cluster> clusters, double distanceThreshold) method
> ----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MAHOUT-564
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-564
>             Project: Mahout
>          Issue Type: Bug
>          Components: Clustering
>    Affects Versions: 0.4
>            Reporter: Frank Scholten
>             Fix For: 0.5
>
>         Attachments: MAHOUT-564.patch
>
>
> While running KMeansClusterer#runKMeansIteration sequentially I noticed that 
> the distanceThreshold parameter is not used. The convergenceDelta field is 
> used instead. However, it's initialized at 0 and only set when creating a 
> KMeansClusterer with a Configuration object, which is only used in a 
> MapReduce setting.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to