Training a DummyRegressor
You can also use this benchmarking technique for regression tasks.
from sklearn.dummy import DummyRegressor
DummyRegressor()
Just like with the DummyClassifier, you can use the DummyRegressor
to learn something about your task and your own model.