Consider the least squares regression model, $\hat{\mathbb{Y}}=\mathbb{X} \theta$. Assume that $\mathbb{X}$ and $\mathbb{Y}$ refer to the design matrix and true response vector for our training data.
Let $\hat{\gamma}$ be the parameter vector that minimizes mean squared error without regularization. Specifically:
$$
\hat{\gamma}=\arg \min _\gamma \frac{1}{n}\|\mathbb{Y}-\mathbb{X} \gamma\|_2^2
$$
Let $\hat{\beta}$ be the parameter vector that minimizes mean squared error with $L_2$ regularization, using a non-negative regularization hyperparameter $\lambda$ (i.e. ridge regression). Specifically:
$$
\hat{\beta}=\arg \min _\beta \frac{1}{n}\|\mathbb{Y}-\mathbb{X} \beta\|_2^2+\lambda \sum_{j=1}^p \beta_j^2
$$
Assume that our design matrix $\mathbb{X}$ contains a column of all ones. The sum of the residuals of our model $\hat{Y}=\mathbb{X} \hat{\beta}$ is $\qquad$
- equal to 0
- not necessarily equal to 0
(Please enter 0 for A and 1 for B)