結果 : how to implement gradient descent in python