logistic regression simple implemention use sgd and lbfgs