Github user jkbradley commented on a diff in the pull request:
https://github.com/apache/spark/pull/12875#discussion_r61961538
--- Diff: python/pyspark/ml/tests.py ---
@@ -684,12 +684,32 @@ def test_logistic_regression(self):
except OSError:
pass
+ def _compare_params(self, m1, m2, param):
+ """
+ Compare 2 ML params, assert they have the same param. The param
must be a parameter of m1.
+ """
+ # Prevent key not found error in case of some param neither in
paramMap and
--- End diff --
"neither in paramMap and defaultParamMap" --> "in neither paramMap nor
defaultParamMap"
---
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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]