Github user jkbradley commented on a diff in the pull request:
https://github.com/apache/spark/pull/11939#discussion_r59822529
--- Diff: python/pyspark/ml/param/__init__.py ---
@@ -389,8 +391,8 @@ def copy(self, extra=None):
if extra is None:
extra = dict()
that = copy.copy(self)
- that._paramMap = self.extractParamMap(extra)
- return that
+ that._paramMap = {}
--- End diff --
I think it's OK to leave this as is. It's within the Params class, and
there is no need to use copyValues, which is meant to handle different classes.
---
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]