Questions: Linear Regression in Machine Learning

3 questions to test your understanding

Score: 0 / 3
Question 1 Multiple Choice

Which statement best describes what the ordinary least squares (OLS) objective minimizes?

AThe sum of absolute differences between predicted and actual values
BThe sum of squared differences between predicted and actual values
CThe maximum single prediction error across all training examples
DThe difference between the largest and smallest predicted values
Question 2 True / False

Linear regression can mainly model truly linear relationships between input features and the target variable.

TTrue
FFalse
Question 3 Short Answer

When would you choose gradient descent over the normal equations to fit a linear regression model?

Think about your answer, then reveal below.