結果 : how to implement stochastic gradient descent in python