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 08:46:12 UTC

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

Xiangrui Meng created SPARK-15030:
-------------------------------------

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