[
https://issues.apache.org/jira/browse/MAHOUT-1070?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13462615#comment-13462615
]
XuHao commented on MAHOUT-1070:
-------------------------------
Bravo! Just catch the same bug and the patch works !
> DisplayKMeans example has transposed/mislabelled arguments
> ----------------------------------------------------------
>
> Key: MAHOUT-1070
> URL: https://issues.apache.org/jira/browse/MAHOUT-1070
> Project: Mahout
> Issue Type: Bug
> Components: Examples
> Affects Versions: 0.7
> Reporter: Gabriel Reid
> Priority: Minor
> Attachments: MAHOUT-1070.patch
>
>
> The org.apache.mahout.clustering.display.DisplayKMeans example class uses a
> value for k (numClusters) and maximum number of iterations to come to
> convergence, but their use is transposed (i.e. the numClusters is used as max
> iterations, and max iterations is used for numClusters). Furthermore, a
> second hard-coded version of the value is used. The end result is that it's
> not directly possible to experiment with different values of numClusters and
> maxIterations.
--
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