結果 : how to code logistic regression in python