[jira] [Commented] (SPARK-17784) Add fromCenters method for KMeans

2016-10-11 Thread Nick Pentreath (JIRA)

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

Nick Pentreath commented on SPARK-17784:


It's actually to create a new `KMeans` estimator I believe

> Add fromCenters method for KMeans
> -
>
> Key: SPARK-17784
> URL: https://issues.apache.org/jira/browse/SPARK-17784
> Project: Spark
>  Issue Type: Improvement
>  Components: ML
>Reporter: Xusen Yin
>Priority: Minor
>
> Add a new factory method fromCenters(centers: Array[Vector]) for KMeans.



--
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-17784) Add fromCenters method for KMeans

2016-10-05 Thread Sean Owen (JIRA)

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

Sean Owen commented on SPARK-17784:
---

Should this not just be a new constructor for KMeansModel?

> Add fromCenters method for KMeans
> -
>
> Key: SPARK-17784
> URL: https://issues.apache.org/jira/browse/SPARK-17784
> Project: Spark
>  Issue Type: Improvement
>  Components: ML
>Reporter: Xusen Yin
>Priority: Minor
>
> Add a new factory method fromCenters(centers: Array[Vector]) for KMeans.



--
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