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 2015/07/14 02:36:04 UTC

[jira] [Commented] (SPARK-8774) Add R model formula with basic support as a transformer

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

Apache Spark commented on SPARK-8774:
-------------------------------------

User 'ericl' has created a pull request for this issue:
https://github.com/apache/spark/pull/7381

> Add R model formula with basic support as a transformer
> -------------------------------------------------------
>
>                 Key: SPARK-8774
>                 URL: https://issues.apache.org/jira/browse/SPARK-8774
>             Project: Spark
>          Issue Type: New Feature
>          Components: ML, SparkR
>            Reporter: Xiangrui Meng
>            Assignee: Eric Liang
>            Priority: Critical
>
> To have better integration with SparkR, we can add a feature transformer to support R formula. A list of operators R supports can be find here: http://ww2.coastal.edu/kingw/statistics/R-tutorials/formulae.html
> The initial version should support "~", "+", and "." on numeric columns and we can expand it in the future.
> {code}
> val formula = new RModelFormula()
>   .setFormula("y ~ x + z")
> {code}
> The output should append two new columns: features and label.
> Design doc is posted at https://docs.google.com/document/d/10NZNSEurN2EdWM31uFYsgayIPfCFHiuIu3pCWrUmP_c/edit?usp=sharing, as part of SPARK-6805.



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