Skip to content

Commit 4716039

Browse files
committed
Fix: Inherit from BaseEstimator in _DummyNoSetParams class for compatibility with scikit-learn
1 parent dcb31b8 commit 4716039

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doubleml/plm/tests/test_lplr_exceptions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ def test_lplr_exception_set_ml_nuisance_params():
156156
dml_lplr.set_ml_nuisance_params("ml_M", "y", {"alpha": 0.1})
157157

158158

159-
class _DummyNoSetParams:
159+
class _DummyNoSetParams(BaseEstimator):
160160
def fit(self):
161161
pass
162162

0 commit comments

Comments
 (0)