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 2015/07/09 07:34:04 UTC
[jira] [Updated] (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: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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org