[
https://issues.apache.org/jira/browse/SPARK-3261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14161380#comment-14161380
]
Derrick Burns commented on SPARK-3261:
--------------------------------------
Another possible source of duplicate cluster centers is the random
initialization algorithm that samples with replacement. It needs to sample
without replacement.
> KMeans clusterer can return duplicate cluster centers
> -----------------------------------------------------
>
> Key: SPARK-3261
> URL: https://issues.apache.org/jira/browse/SPARK-3261
> Project: Spark
> Issue Type: Bug
> Components: MLlib
> Affects Versions: 1.0.2
> Reporter: Derrick Burns
> Assignee: Derrick Burns
>
> This is a bad design choice. I think that it is preferable to produce no
> duplicate cluster centers. So instead of forcing the number of clusters to be
> K, return at most K clusters.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]