tsycnh/mlbasic

may be some error in p1 gradient descent.py

nevergiveuphe opened this issue · 0 comments

a = a - rateall_da
b = b - rate
all_db

这两行之前应该需要
all_da = all_da/len(x)
all_db = all_db/len(x)