viirya commented on a change in pull request #30285:
URL: https://github.com/apache/spark/pull/30285#discussion_r520027022
##########
File path: python/pyspark/ml/feature.py
##########
@@ -278,14 +292,24 @@ def approxSimilarityJoin(self, datasetA, datasetB,
threshold, distCol="distCol")
if the :py:attr:`outputCol` exists, it will use that. This allows
caching of the
transformed data when necessary.
- :param datasetA: One of the datasets to join.
- :param datasetB: Another dataset to join.
- :param threshold: The threshold for the distance of row pairs.
- :param distCol: Output column for storing the distance between each
pair of rows. Use
- "distCol" as default value if it's not specified.
- :return: A joined dataset containing pairs of rows. The original rows
are in columns
- "datasetA" and "datasetB", and a column "distCol" is added to
show the distance
- between each pair.
+ Parameters
+ ----------
+ datasetA : :py:class:`pyspark.sql.DataFrame`
+ One of the datasets to join.
+ datasetA : :py:class:`pyspark.sql.DataFrame`
Review comment:
datasetA -> datasetB
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]