On the official scikit-learn website, one reads that:
constant always predicts a constant label that is provided by the user. A major motivation of this method is F1-scoring, when the positive class is in the minority.
Could you please elaborate on the bold-part? That would be really helpful. Thanks