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 11:33:00 UTC

[jira] [Commented] (SPARK-21481) Add indexOf method in ml.feature.HashingTF similar to mllib.feature.HashingTF

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

Apache Spark commented on SPARK-21481:
--------------------------------------

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

> Add indexOf method in ml.feature.HashingTF similar to mllib.feature.HashingTF
> -----------------------------------------------------------------------------
>
>                 Key: SPARK-21481
>                 URL: https://issues.apache.org/jira/browse/SPARK-21481
>             Project: Spark
>          Issue Type: Improvement
>          Components: ML
>    Affects Versions: 2.1.0, 2.2.0
>            Reporter: Aseem Bansal
>            Assignee: Huaxin Gao
>            Priority: Minor
>             Fix For: 3.0.0
>
>
> If we want to find the index of any input based on hashing trick then it is possible in https://spark.apache.org/docs/2.2.0/api/scala/index.html#org.apache.spark.mllib.feature.HashingTF but not in https://spark.apache.org/docs/2.2.0/api/scala/index.html#org.apache.spark.ml.feature.HashingTF.
> Should allow that for feature parity



--
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