結果 : logistic regression cost function in python