spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "yuhao yang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-22943) OneHotEncoder supports manual specification of categorySizes
Date Wed, 17 Jan 2018 06:09:05 GMT

    [ https://issues.apache.org/jira/browse/SPARK-22943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16328310#comment-16328310
] 

yuhao yang commented on SPARK-22943:
------------------------------------

Thanks for the reply, yet I cannot see how can user specify the output dimension right now.

> OneHotEncoder supports manual specification of categorySizes
> ------------------------------------------------------------
>
>                 Key: SPARK-22943
>                 URL: https://issues.apache.org/jira/browse/SPARK-22943
>             Project: Spark
>          Issue Type: Improvement
>          Components: ML
>    Affects Versions: 2.2.0
>            Reporter: yuhao yang
>            Priority: Minor
>
> OHE should support configurable categorySizes, as n-values in  http://scikit-learn.org/stable/modules/generated/sklearn.preprocessing.OneHotEncoder.html.
which allows consistent and foreseeable conversion.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message