First experiment with logistic regression