結果 : cost function in logistic regression python