[
https://issues.apache.org/jira/browse/MAHOUT-1085?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sebastian Schelter resolved MAHOUT-1085.
----------------------------------------
Resolution: Duplicate
work on this has already been started in MAHOUT-1130
> mahout-kmeans, the chance to pick new element
> ---------------------------------------------
>
> Key: MAHOUT-1085
> URL: https://issues.apache.org/jira/browse/MAHOUT-1085
> Project: Mahout
> Issue Type: Bug
> Components: Clustering
> Reporter: liutengfei
>
> In RandomSeedGenerator.java:
> .............
> else if (random.nextInt(currentSize + 1) != 0)
> { // with chance 1/(currentSize+1) pick new element
> ...........
> }
> i think "!=" should be "=="
> ................
> else if (random.nextInt(currentSize + 1) == 0)
> { // with chance 1/(currentSize+1) pick new element
> ..................
--
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