rusty-machine icon indicating copy to clipboard operation
rusty-machine copied to clipboard

Implementing SGD for linear regression

Open infinite-Joy9l opened this issue 5 years ago • 1 comments

I can see that Stochastic Gradient Descent has already been implemented. But linear regression works using simple gradient descent. What are the challenges to implementing SGD for Linear Regression.

SGD implementation: https://github.com/AtheMathmo/rusty-machine/blob/master/src/learning/optim/grad_desc.rs#L159

https://github.com/AtheMathmo/rusty-machine/blob/master/src/learning/lin_reg.rs#L157

infinite-Joy9l avatar Mar 21 '19 15:03 infinite-Joy9l

Thanks for the report! Note that unfortunately, this project is kind of suffering from a maintenance bottleneck at this point: see the comments on #181 (and please let us know in the discussion there if you want to help bring the project to life again!)

zackmdavis avatar Mar 21 '19 19:03 zackmdavis