doubleml.utils.DMLDummyRegressor#
- class doubleml.utils.DMLDummyRegressor#
A dummy regressor that raises an AttributeError when attempting to access its fit, predict, or set_params methods.
Methods
fit
()Raises AttributeError: "Accessed fit method of DummyRegressor!"
Get metadata routing of this object.
get_params
([deep])Get parameters for this estimator.
predict
()Raises AttributeError: "Accessed predict method of DummyRegressor!"
Raises AttributeError: "Accessed set_params method of DummyRegressor!"
- DMLDummyRegressor.fit()#
Raises AttributeError: “Accessed fit method of DummyRegressor!”
- DMLDummyRegressor.get_metadata_routing()#
Get metadata routing of this object.
Please check User Guide on how the routing mechanism works.
- Returns:
routing – A
MetadataRequest
encapsulating routing information.- Return type:
MetadataRequest
- DMLDummyRegressor.get_params(deep=True)#
Get parameters for this estimator.
- DMLDummyRegressor.predict()#
Raises AttributeError: “Accessed predict method of DummyRegressor!”
- DMLDummyRegressor.set_params()#
Raises AttributeError: “Accessed set_params method of DummyRegressor!”