Perceptron + logistic regression