GATE DA 2025, Q.22: Effect of one perceptron update
The question
A linear classifier y = sign(wᵀx + b) updates on a misclassified sample by w_new = w_old + yₙxₙ, b_new = b_old + yₙ. For a sample (xₙ, +1) with f(xₙ; w_old, b_old) < 0, which is correct?
- (A) f(xₙ; w_new, b_new) > f(xₙ; w_old, b_old)
- (B) f(xₙ; w_new, b_new) < f(xₙ; w_old, b_old)
- (C) f(xₙ; w_new, b_new) = f(xₙ; w_old, b_old)
- (D) yₙ f(xₙ; w_old, b_old) > 1
Watch it solved
Solve it step by step
- New score. f_new(xₙ) = (w + xₙ)ᵀxₙ + b + 1 = f_old(xₙ) + ‖xₙ‖² + 1.
- Always larger. ‖xₙ‖² + 1 > 0, so the score rises: A.
- D. yₙ f_old < 0 because it was misclassified, so D is false.
Answer: (A)
Official IIT Roorkee answer key: A.
Common mistake. Assuming one update must fix the mistake; it moves the score up but may not cross zero.
Remember. A perceptron step raises yₙ f(xₙ) by ‖xₙ‖² + 1.
See it move
Learn the idea behind this question in the free animated lesson The perceptron, then Decision boundaries.
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 sheetsSource: official GATE DA 2025 question paper and answer key (IIT Roorkee). The question is lightly reworded; every number and option is kept.