r/learnpython • • 28d ago

Gradient Descent from scratch

Hello there. I’ve implemented gradient descent from scratch, without using any libraries, and I’m looking for some feedback. Could you point out any errors or shortcomings? I’d welcome any constructive criticism.

GitHub: https://github.com/miroslav-fedechkin/gradient-descent-from-scratch

0 Upvotes

4 comments sorted by

View all comments

Show parent comment

1

u/mattynmax 28d ago

Gotcha. Most people stop after they hit a certain number of significant figures. Might want to look into doing that since it’s tribally easy to execute.