What is the purpose of the cost function in linear regression?
To maximize accuracy
To minimize the sum of squared errors
To measure precision
To handle multicollinearity
This question is part of this quiz :