結果 : how to code gradient descent in python