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

Xiangrui Meng updated SPARK-8774:
---------------------------------
    Description: 
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.

  was:
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.


> 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: Xiangrui Meng
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to