GATE 2026 DA – Question 55
Consider that Linear Ridge Regression is being used to learn a prediction function $y_{pred} = w^Tx$, where $w, x \in \mathbb{R}^2$ and Mean Absolute Error (MAE) is used to measure the prediction error. A weight of 0.20 is associated with the regularizer.
At an intermediate step of the training process, assume that the parameter $w = [-3.00, 4.00]^T$. In the next step, for the input $x = [1.00, 2.00]^T$, the predicted value of $y$ is noted. Let the relation between $x = [x_1, x_2]^T$ and the true value of $y$ be $y_{true} = x_1 + x_2$.
The value of the overall regularized loss function for this instance is _______ . (*Rounded off to two decimal places*)
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: 6.96 to 7.04
Explanation
**1. Calculate prediction and target.** $w^Tx=(-3)(1)+4(2)=5$, while the stated true relation gives $y_{true}=1+2=3$.
**2. Use the specified error measure.** There is one observation, so mean absolute error is $|5-3|=2$. It is not the squared error 4.
**3. Add the ridge penalty.** Ridge uses the squared L₂ norm: $\|w\|^2=(-3)^2+4^2=25$. With weight 0.20, the penalty is 5. Total regularized loss is $2+5=\mathbf{7.00}$. Do not replace the squared norm with the L₁ norm or insert an unstated factor of one half.