sklearn.dummy#

Dummy estimators that implement simple rules of thumb.

User guide. See theMetrics and scoring: quantifying the quality of predictions section for further details.

DummyClassifier

DummyClassifier makes predictions that ignore the input features.

DummyRegressor

Regressor that makes predictions using simple rules.