SGD works with linear regression.
Epoch 1000: Cost on iteration 399998 is 19.759866
Epoch 1000: Cost on iteration 399999 is 5.201716
Epoch 1000: Cost on iteration 400000 is 34.291148
Optimization took 228.693635 seconds.
RMS training error: 8.744838
RMS testing error: 8.916570

Signed-off-by: unknown <viveksck@gmail.com>