You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2020/11/09 02:45:16 UTC

[GitHub] [spark] viirya commented on a change in pull request #30285: [SPARK-33251][PYTHON][DOCS] Migration to NumPy documentation style in ML (pyspark.ml.*)

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



##########
File path: python/pyspark/ml/base.py
##########
@@ -34,13 +34,19 @@ class _FitMultipleIterator(object):
     iterator. This class handles the simple case of fitMultiple where each param map should be
     fit independently.
 
-    :param fitSingleModel: Function: (int => Model) which fits an estimator to a dataset.
+    Parameters
+    ----------
+    fitSingleModel
+        Callable[[int], Transformer]which fits an estimator to a dataset.

Review comment:
       Callable[[int], Transformer]which -> Callable[[int], Transformer] which?




----------------------------------------------------------------
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:
users@infra.apache.org



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