Skip to content

Commit f7e69c1

Browse files
committed
Fixed clone
1 parent ba94681 commit f7e69c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tdamapper/_common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,5 +146,5 @@ def clone(estimator):
146146
:return: A new estimator with the same parameters.
147147
:rtype: A scikit-learn compatible estimator
148148
"""
149-
params = estimator.get_params(deep=True)
149+
params = estimator.get_params(deep=False)
150150
return type(estimator)(**params)

0 commit comments

Comments
 (0)