You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Aseem Bansal (JIRA)" <ji...@apache.org> on 2017/07/20 06:46:00 UTC

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

Aseem Bansal created SPARK-21481:
------------------------------------

             Summary: 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.2.0, 2.1.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