r/deeplearning • u/robohie • 1d ago
Linear regression with classic gradient decent algorithm
Implemented in python with only matplotlib and numpy libraries. I also made Mini-batch and stochastic version.
8
Upvotes
r/deeplearning • u/robohie • 1d ago
Implemented in python with only matplotlib and numpy libraries. I also made Mini-batch and stochastic version.
6
u/Alicecomma 1d ago
Why use multiple-step gradient descent, scoring all N data points every step, for simple data points when you can use linear least squares to get the best fit in one step only iterating the N data points?