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 2017/01/17 23:29:26 UTC
[jira] [Commented] (SPARK-14659) OneHotEncoder support drop first
category alphabetically in the encoded vector
[ https://issues.apache.org/jira/browse/SPARK-14659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15827041#comment-15827041 ]
Joseph K. Bradley commented on SPARK-14659:
-------------------------------------------
I'm doing a general pass to encourage the Shepherd requirement from the roadmap process in [SPARK-18813].
Is someone interested in shepherding this issue, or shall I remove the target version?
> OneHotEncoder support drop first category alphabetically in the encoded vector
> -------------------------------------------------------------------------------
>
> Key: SPARK-14659
> URL: https://issues.apache.org/jira/browse/SPARK-14659
> Project: Spark
> Issue Type: Improvement
> Components: ML
> Reporter: Yanbo Liang
>
> R formula drop the first category alphabetically when encode string/category feature. Spark RFormula use OneHotEncoder to encode string/category feature into vector, but only supporting "dropLast" by string/category frequencies. This will cause SparkR produce different models compared with native R.
--
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