結果 : is there a gradient descent function in python