Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-13964 Feature hashing improvements
  3. SPARK-13963

Add binary toggle Param to ml.HashingTF

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 2.0.0
    • ML
    • None

    Description

      It would be handy to add a binary toggle Param to HashingTF, as in the scikit-learn one: http://scikit-learn.org/stable/modules/generated/sklearn.feature_extraction.text.HashingVectorizer.html

      If set, then all non-zero counts will be set to 1.

      Attachments

        Issue Links

          Activity

            People

              bryanc Bryan Cutler
              mlnick Nicholas Pentreath
              Nicholas Pentreath Nicholas Pentreath
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: