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

Add binary toggle Param to CountVectorizer

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.0.0
    • ML
    • None

    Description

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

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

      Attachments

        Issue Links

          Activity

            People

              yuhaoyan yuhao yang
              josephkb Joseph K. Bradley
              Nicholas Pentreath Nicholas Pentreath
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: