結果 : how to apply gradient descent in python