Why is my gradient descent method doesn't stop at the appropriate values?

前端 未结 0 1072
滥情空心
滥情空心 2021-01-23 03:11
def gd(x_list, y_list):
    m = b = 0
    iterations = 10000
    learning_rate = 0.00001
    n = len(x_list)

    sum_x = sum(x_list)
    sum_y = sum(y_list)
    sum_xy          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题