Github user sethah commented on the issue:
https://github.com/apache/spark/pull/15450
I don't feel strongly either way, but I don't like the potential of this:
````scala
model.getK
scala> 3
model.clusterCenters.length
scala> 1
````
Should we consider setting the model `k` to the number of clusters at the
end of training? Or is there some utility to knowing that the number of
clusters was less than the requested `k`?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]