#1998: reverse merge of r13089 (reused the ConstantRegressionModel as ConstantClassificationModel (OK?))