>normal equation is vastly superior to gradient descent in solving out the coefficients for polynomial regression
Completely depends on the size of your data set. I would not want to pseudo-invert a design matrix > 1000 samples.
Completely depends on the size of your data set. I would not want to pseudo-invert a design matrix > 1000 samples.
https://www.johndcook.com/blog/2010/01/19/dont-invert-that-m...
Obviously, any solution you get solves the normal equation so it’s unclear what the parent comment meant by using the normal equation is superior to SGD.
If it’s the gradient, doesn’t it have the real gradient in expectation, so you can run as many iterations to get epsilon precision up to what your machine will support?
I’m not too familiar with CG. What clues you in that he’s thinking more CG than SGD?