Skip to content

Commit 229a6be

Browse files
committed
update dummy learner documentation
1 parent d375cc5 commit 229a6be

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

doubleml/utils/dummy_learners.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@ class DMLDummyRegressor(BaseEstimator):
55
"""
66
A dummy regressor that raises an AttributeError when attempting to access
77
its fit, predict, or set_params methods.
8+
89
Attributes
910
----------
1011
_estimator_type : str
1112
Type of the estimator, set to "regressor".
13+
1214
Methods
1315
-------
1416
fit(*args)
@@ -35,10 +37,12 @@ class DMLDummyClassifier(BaseEstimator):
3537
"""
3638
A dummy classifier that raises an AttributeError when attempting to access
3739
its fit, predict, set_params, or predict_proba methods.
40+
3841
Attributes
3942
----------
4043
_estimator_type : str
4144
Type of the estimator, set to "classifier".
45+
4246
Methods
4347
-------
4448
fit(*args)

0 commit comments

Comments
 (0)