You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2018/07/03 21:31:00 UTC

[jira] [Resolved] (SPARK-9883) Distance to each cluster given a point (KMeansModel)

     [ https://issues.apache.org/jira/browse/SPARK-9883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean Owen resolved SPARK-9883.
------------------------------
    Resolution: Won't Fix

> Distance to each cluster given a point (KMeansModel)
> ----------------------------------------------------
>
>                 Key: SPARK-9883
>                 URL: https://issues.apache.org/jira/browse/SPARK-9883
>             Project: Spark
>          Issue Type: Improvement
>          Components: MLlib
>            Reporter: Bertrand Dechoux
>            Priority: Minor
>
> Right now KMeansModel provides only a 'predict 'method which returns the index of the closest cluster.
> https://spark.apache.org/docs/latest/api/java/org/apache/spark/mllib/clustering/KMeansModel.html#predict(org.apache.spark.mllib.linalg.Vector)
> It would be nice to have a method giving the distance to all clusters.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org