in linear regression if gradient descent converges, what does it converge to
Jump to turn (6)
- 1in linear regression if gradient descent converges, what does it converge to
- 2can you find the weights found by gradient descent assuming it converges? Assume
- 3what would be the training error with these weights? write your answer in terms
- 4Substitute the weights found above for w
- 5what would the training error above look like if the true targets y are generate
- 6Thanks
- User
in linear regression if gradient descent converges, what does it converge to
- Assistant
In linear regression, if gradient descent converges, it converges to the values of the parameters (i.e. the coefficients of the features) that minimize the mean squared error (MSE) between the predicted and actual values of the target variable. The MSE is a measure of the difference between the predicted and actual values, and the goal of linear regression is to find the values of the parameters that result in the smallest MSE.
- User
can you find the weights found by gradient descent assuming it converges? Assume that the loss function is MSE. Write the loss function in vectorized notation and show how the weights can be found