You could use a dummy classifier from [dummy](http://scikit-learn.org/dev/modules/generated/sklearn.dummy.DummyClassifier.html#sklearn.dummy.DummyClassifier). The parameter could be the constant value.