Gradient LabSign up free

Home / GATE DA / 2025 / Q.22

GATE DA 2025, Q.22: Effect of one perceptron update

Machine learningPerceptron update1 markMCQFree

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?

Watch it solved

Solve it step by step

  1. New score. f_new(xₙ) = (w + xₙ)ᵀxₙ + b + 1 = f_old(xₙ) + ‖xₙ‖² + 1.
  2. Always larger. ‖xₙ‖² + 1 > 0, so the score rises: A.
  3. 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 sheets

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