viirya commented on a change in pull request #30285:
URL: https://github.com/apache/spark/pull/30285#discussion_r520032889



##########
File path: python/pyspark/ml/stat.py
##########
@@ -363,13 +390,21 @@ def metrics(*metrics):
          - normL2: the Euclidean norm for each coefficient.
          - normL1: the L1 norm of each coefficient (sum of the absolute 
values).
 
-        :param metrics:
-         metrics that can be provided.
-        :return:
-         an object of :py:class:`pyspark.ml.stat.SummaryBuilder`
+        .. versionadded:: 2.4.0
 
-        Note: Currently, the performance of this interface is about 2x~3x 
slower then using the RDD
+        Notes
+        -----
+        Currently, the performance of this interface is about 2x~3x slower 
then using the RDD

Review comment:
       then -> than




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

Reply via email to