logo

... scikit dummy.


You need to properly benchmark your models and it can be easy to forget to do this step. That is why we wanted to demonstrate the dummy module of scikit-learn. It is an underappreciated part of the library that is very useful to start with.


Notes

You can also use this benchmarking technique for regression tasks.

from sklearn.dummy import DummyRegressor
DummyRegressor()

Feedback? See an issue? Something unclear? Feel free to mention it here.

If you want to be kept up to date, consider getting the newsletter.