You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xiangrui Meng (JIRA)" <ji...@apache.org> on 2016/04/30 17:39:12 UTC

[jira] [Resolved] (SPARK-15030) Support formula in spark.kmeans in SparkR

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

Xiangrui Meng resolved SPARK-15030.
-----------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.0

Issue resolved by pull request 12813
[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
>             Fix For: 2.0.0
>
>
> 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