If this isn't there, then `predict_proba` will result in a zero matrix. However predict will output the `constant` class. Thats why, I though an error might be necessary.