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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to