You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2016/04/30 12:47:13 UTC
[jira] [Commented] (SPARK-15030) Support formula in spark.kmeans in
SparkR
[ https://issues.apache.org/jira/browse/SPARK-15030?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15265282#comment-15265282 ]
Apache Spark commented on SPARK-15030:
--------------------------------------
User 'yanboliang' has created a pull request for this issue:
https://github.com/apache/spark/pull/12813
> Support formula in spark.kmeans in SparkR
> -----------------------------------------
>
> Key: SPARK-15030
> URL: https://issues.apache.org/jira/browse/SPARK-15030
> Project: Spark
> Issue Type: New Feature
> Components: ML, SparkR
> Affects Versions: 2.0.0
> Reporter: Xiangrui Meng
> Assignee: Yanbo Liang
>
> In SparkR, spark.kmeans take a DataFrame with double columns. This is different from other ML methods we implemented, which support R model formula. We should add support for that as well.
> {code:none}
> spark.kmeans(data = df, formula = ~ lat + lon, ...)
> {code}
--
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