added logistic_sgd