梯度下降、随机梯度下降、批量梯度下降 方法之间性能优缺点的对比 ##结果示例如下 ###gradient_descent method final iter_counter 225 final loss 0.0007602571719625222 final theta [3.00627105710563, 3.9936215576728733] total time 0.0017476081848144531 ---------------------- ###gradient_descent_random method final iter_counter 225 final loss 0.8057152073544551 final theta [3.1631152340338735, 3.771627529841022] total time 0.0014791488647460938 ---------------------- ###gradient_descent_bath method final iter_counter 225 final loss 0.030440675254755648 final theta [3.0427095510327122, 3.963624756870315] total time 0.0017015933990478516