You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2017/08/02 19:19:03 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=16111559#comment-16111559 ] 

Hyukjin Kwon commented on SPARK-21481:
--------------------------------------

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

> 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
>
> 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
(v6.4.14#64029)

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