Merge pull request #41341 from zachmayer:zam/sklearn-fix
PiperOrigin-RevId: 350613001 Change-Id: I96fe50d369a8e45a518f04ff51c86d9c1682a937
This commit is contained in:
commit
f1f4b915cd
@ -114,7 +114,7 @@ class BaseWrapper(object):
|
||||
Returns:
|
||||
Dictionary of parameter names mapped to their values.
|
||||
"""
|
||||
res = copy.deepcopy(self.sk_params)
|
||||
res = self.sk_params.copy()
|
||||
res.update({'build_fn': self.build_fn})
|
||||
return res
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user