Question 1
In Linear Regression using Ordinary Least Squares (OLS), what is the closed-form solution for the weight vector w given feature matrix X and target vector y?
The Normal Equation for OLS regression minimizing sum of squared errors is $w = (X^{T} X)^{-1} X^{T} y$.