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

2015-09-25 Thread Bertrand Dechoux (JIRA)

[ 
https://issues.apache.org/jira/browse/SPARK-9883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



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

2015-09-25 Thread Joseph K. Bradley (JIRA)

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

Joseph K. Bradley commented on SPARK-9883:
--

OK!  I'll be traveling next week, but I'll try to take a look soon.

> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



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

2015-09-21 Thread Apache Spark (JIRA)

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

Apache Spark commented on SPARK-9883:
-

User 'BertrandDechoux' has created a pull request for this issue:
https://github.com/apache/spark/pull/8849

> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



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

2015-08-13 Thread Bertrand Dechoux (JIRA)

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

Bertrand Dechoux commented on SPARK-9883:
-

A colleague of mine is working on it for MLlib. Figuring it out for the 
Pipelines API would be a nice 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



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

2015-08-12 Thread Joseph K. Bradley (JIRA)

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

Joseph K. Bradley commented on SPARK-9883:
--

This seems like a nice thing to provide within the Pipelines API, where the 
distances could be another output column

 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org