Why to use a dummy classifier

A dummy classifier that makes predictions out of simple rules, such as random predictions or predicting the majority class always. The metrics of a dummy classifier on validation set reflects whether the actual machine learning model is predicting better. Hence DCs are excellent for baselining performance.

Sklearn provides various options in which way a DC can be built. See the documentation.