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