What is the computational complexity of solving the Normal Equation?
Role: Data Scientist
Category: Machine Learning
Difficulty: medium
Interview Round: Other
Overview: Asks for the computational cost of fitting a linear regression with the Normal Equation, in terms of the number of rows and features. Tests the cost of each step, which term dominates, and when gradient descent or an iterative solver is the better choice.