What is the objective function of Ordinary Least Squares (OLS)?
Role: Data Scientist
Category: Machine Learning
Difficulty: easy
Interview Round: Other
Overview: Asks for the objective function that ordinary least squares minimizes when fitting a linear regression. Tests whether you can write it in summation and matrix form, explain why it has a closed-form minimizer, and connect it to maximum likelihood under an error model.