Specify label format in LogisticRegression.