logit for classification