adaptive regularization for logistic regression