spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiangrui Meng (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SPARK-8774) Add R model formula with basic support as a transformer
Date Thu, 02 Jul 2015 00:19:04 GMT
Xiangrui Meng created SPARK-8774:
------------------------------------

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


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.



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


Mime
View raw message