Github user yongtang commented on a diff in the pull request:

    https://github.com/apache/spark/pull/12079#discussion_r59319063
  
    --- Diff: python/pyspark/mllib/feature.py ---
    @@ -379,6 +379,17 @@ class HashingTF(object):
         """
         def __init__(self, numFeatures=1 << 20):
             self.numFeatures = numFeatures
    +        self.binary = False
    +
    +    @since("2.0.0")
    +    def setBinary(self, value):
    +        """
    +        If true, term frequency vector will be binary such that non-zero
    +        term counts will be set to 1
    +        (default: false)
    --- End diff --
    
    Thanks @BryanCutler this issue has been corrected.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to