Sparse logistic regression