You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2020/09/23 10:32:00 UTC

[jira] [Commented] (SPARK-32974) FeatureHasher transform optimization

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

Apache Spark commented on SPARK-32974:
--------------------------------------

User 'zhengruifeng' has created a pull request for this issue:
https://github.com/apache/spark/pull/29850

> FeatureHasher transform optimization
> ------------------------------------
>
>                 Key: SPARK-32974
>                 URL: https://issues.apache.org/jira/browse/SPARK-32974
>             Project: Spark
>          Issue Type: Improvement
>          Components: ML
>    Affects Versions: 3.1.0
>            Reporter: zhengruifeng
>            Priority: Minor
>
> for a numerical column, its output index is a hash of its col_name, we can pre-compute it at first, instead of computing it on each row.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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