may be some error in p1 gradient descent.py
nevergiveuphe opened this issue · 0 comments
nevergiveuphe commented
a = a - rateall_da
b = b - rateall_db
这两行之前应该需要
all_da = all_da/len(x)
all_db = all_db/len(x)
nevergiveuphe opened this issue · 0 comments
a = a - rateall_da
b = b - rateall_db
这两行之前应该需要
all_da = all_da/len(x)
all_db = all_db/len(x)