Sam Stoelinga created SPARK-8587:
------------------------------------
Summary: Return cost and cluster index KMeansModel.predict
Key: SPARK-8587
URL: https://issues.apache.org/jira/browse/SPARK-8587
Project: Spark
Issue Type: Improvement
Reporter: Sam Stoelinga
Priority: Minor
Looking at PySpark the implementation of KMeansModel.predict:
Currently:
it calculates the cost of the closest cluster and returns the index only.
My expectation:
Easy way to let the same function or a new function to return the cost with the
index.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]