結果 : logistic regression python code without sklearn