Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-21481

Add indexOf method in ml.feature.HashingTF similar to mllib.feature.HashingTF

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.1.0, 2.2.0
    • 3.0.0
    • ML
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              huaxingao Huaxin Gao
              anshbansal Aseem Bansal
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: