GATE DA 2025 · Question 22 · Machine Learning · Multiple choice (MCQ) · 1 mark · −1/3 for a wrong answer
Consider designing a linear classifier
y = sign(f(x; w, b)), f(x; w, b) = wᵀ x + b
on a dataset D = {(x₁, y₁), (x₂, y₂), …, (x_N, y_N)}, xᵢ ∈ ℝᵈ, yᵢ ∈ {+1, -1}, i = 1, 2, …, N. Recall that the sign function outputs +1 if the argument is positive, and -1 if the argument is non-positive. The parameters w and b are updated as per the following training algorithm:
w_(new) = w_(old) + yₙ xₙ, b_(new) = b_(old) + yₙ
whenever sign(f(xₙ; w_(old), b_(old))) ≠ yₙ. In other words, whenever the classifier wrongly predicts a sample (xₙ, yₙ) from the dataset, w_(old) gets updated to w_(new), and likewise b_(old) gets updated to b_(new). Consider the case (xₙ, +1), f(xₙ; w_(old), b_(old)) < 0. Then
- (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
Answer
Answer (A)
Answer from the official GATE DA 2025 answer key.
The step-by-step solution, where available, is part of GATE DA Pro. See what Pro includes