spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bertrand Dechoux (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-9883) Distance to each cluster given a point
Date Fri, 25 Sep 2015 20:11:04 GMT

    [ https://issues.apache.org/jira/browse/SPARK-9883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14908598#comment-14908598
] 

Bertrand Dechoux commented on SPARK-9883:
-----------------------------------------

The patch is now ready for MLlib and is waiting for a technical review.
I will see about Pipelines API for the next step.

> Distance to each cluster given a point
> --------------------------------------
>
>                 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
(v6.3.4#6332)

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


Mime
View raw message