Residual Sum of Squares function
One of the exercises was to write a function to compute the residual sum of squares.
I have a few questions:
1. why does the linspace represent the slope? why not np.linspace(0,0.5,200) or np.linspace(0,0.9,700) or any other combination?
2. what does enumerate mean in this context?