Gradient LabSign up free

Home / GATE DA / 2026 / Q.55

GATE DA 2026, Q.55: MAE plus ridge penalty for one instance

Machine learningRegularised loss2 marksNumerical answerFree

The question

A model ŷ = wᵀx with w, x ∈ ℝ² is trained with mean absolute error plus a ridge regulariser of weight 0.20. At w = [−3, 4]ᵀ, the next input is x = [1, 2]ᵀ with y_true = x₁ + x₂. Find the regularised loss for this instance (two decimals).

Watch it solved

Solve it step by step

  1. Prediction. ŷ = −3·1 + 4·2 = 5.
  2. Target. y = 1 + 2 = 3, so the absolute error is 2.
  3. Ridge term. 0.20 × (9 + 16) = 5.
  4. Total. 2 + 5 = 7.00.

Answer: 7.00

Official IIT Guwahati answer key: 6.90 to 7.10.

Common mistake. Using ‖w‖ = 5 instead of ‖w‖² = 25 for the ridge term (giving 3).

Remember. Ridge adds λ‖w‖² (squared L2).

See it move

Learn the idea behind this question in the free animated lesson L1 and L2 regularization, then Loss functions.

Want every question solved? The past-paper pack has all 195 questions from 2024, 2025 and 2026 for ₹499. The cheat sheet pack has 23 printable sheets for ₹399.

See the past-paper pack See the cheat sheets

Source: official GATE DA 2026 question paper and answer key (IIT Guwahati). The question is lightly reworded; every number and option is kept.