You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Joseph K. Bradley (JIRA)" <ji...@apache.org> on 2016/04/13 00:27:25 UTC

[jira] [Closed] (SPARK-14550) OneHotEncoding wrapper in SparkR

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

Joseph K. Bradley closed SPARK-14550.
-------------------------------------
    Resolution: Later

> OneHotEncoding wrapper in SparkR
> --------------------------------
>
>                 Key: SPARK-14550
>                 URL: https://issues.apache.org/jira/browse/SPARK-14550
>             Project: Spark
>          Issue Type: New Feature
>          Components: ML, SparkR
>            Reporter: Alok Singh
>
> Implement OneHotEncoding in R.
> In R , usually one can use model.matrix to do one hot encoding. which accepts formula. I think we can support simple formula here.
> model.matrix doc: https://stat.ethz.ch/R-manual/R-devel/library/stats/html/model.matrix.html
> here is the example, that would be nice to have
> example :
> http://stackoverflow.com/questions/16200241/recode-categorical-factor-with-n-categories-into-n-binary-columns



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