[ https://issues.apache.org/jira/browse/MAHOUT-1070?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13672180#comment-13672180 ]
Suneel Marthi commented on MAHOUT-1070: --------------------------------------- Is someone looking at this patch? I can take a crack at this if there are no takers. > 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 > Assignee: Paritosh Ranjan > Priority: Minor > Fix For: 0.8 > > 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