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

    https://github.com/apache/spark/pull/16715#discussion_r100193043
  
    --- Diff: python/pyspark/ml/feature.py ---
    @@ -755,6 +951,102 @@ def maxAbs(self):
     
     
     @inherit_doc
    +class MinHashLSH(JavaEstimator, LSHParams, HasInputCol, HasOutputCol, 
HasSeed,
    +                 JavaMLReadable, JavaMLWritable):
    +
    +    """
    +    .. note:: Experimental
    +
    +    LSH class for Jaccard distance.
    +    The input can be dense or sparse vectors, but it is more efficient if 
it is sparse.
    +    For example, `Vectors.sparse(10, Array[(2, 1.0), (3, 1.0), (5, 1.0)])`
    +    means there are 10 elements in the space. This set contains elem 2, 
elem 3 and elem 5.
    --- End diff --
    
    Done.


---
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