You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Teng Peng (JIRA)" <ji...@apache.org> on 2018/05/02 13:20:00 UTC

[jira] [Commented] (SPARK-22943) OneHotEncoder supports manual specification of categorySizes

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

Teng Peng commented on SPARK-22943:
-----------------------------------

This issue looks quiet interesting, but can you be more specific about "consistent and foreseeable conversion"? Can you give an example that current implementation does not handle well?

> 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