結果 : logistic regression function python