logistic_sgd get bad result; conn dosn't work