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

Ruifeng Zheng resolved SPARK-60237.
-----------------------------------
    Fix Version/s: 4.4.0
       Resolution: Fixed

Issue resolved by pull request 59461
[https://github.com/apache/spark/pull/59461]

> Use OpenHashSet for binary HashingTF
> ------------------------------------
>
>                 Key: SPARK-60237
>                 URL: https://issues.apache.org/jira/browse/SPARK-60237
>             Project: Spark
>          Issue Type: Sub-task
>          Components: ML
>    Affects Versions: 5.0.0, 4.4.0
>            Reporter: Ruifeng Zheng
>            Assignee: Ruifeng Zheng
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.4.0
>
>
> Binary HashingTF only needs to track distinct feature indices. Use 
> OpenHashSet[Int], sort the resulting indices, and construct a sparse vector 
> with 1.0 values. This is implemented in 
> https://github.com/apache/spark/pull/59461.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to