logistic regrssion without convergence