結果 : logistic regression function in python