A perceptron is run on linearly separable data with ∥xi∥≤5 for all i. Some unit vector w∗ separates it with margin yi w∗ ⁣⋅xi≥0.5. What upper bound does Novikoff's theorem give on the number of mistakes? What changes if all inputs are multiplied by 10?

Learning theory, Mistake-bound model
Level L2 Elementary. Length Short. Nature Mat Mathematical.

What's being asked

Whether you can apply Novikoff's bound and notice that it is scale invariant.

Key idea

M≤(Rγ)2, where R bounds ∥xi∥ and γ is the margin of a unit-norm separator.

Steps

  1. Read off R=5 and γ=0.5. The margin is measured with a unit vector w∗, which is what the theorem needs.
  2. Apply the bound: M≤(50.5)2=102=100 mistakes.
  3. Scale all inputs by 10: now R=50. The margin yi w∗ ⁣⋅xi also scales to γ=5, because w∗ is still a unit vector.
  4. The bound becomes (505)2=100. It is unchanged, as expected: scaling inputs does not change which points the perceptron misclassifies in a run from w=0, so the number of mistakes cannot change.

Common mistakes

How long your answer should be

3–4 lines; about 1 minute.

Last checked on 4 December 2026.

Read this

Previous in Learning theory: A learner must find a conjunction of literals over n=10 Boolean variables (each variable may appear positively, negated, or not at all) in the realisable setting. Treat the class as having 310+1 hypotheses (the extra one is the always-false conjunction). How many examples guarantee error at most 0.1 with probability at least 0.95?
Next in Learning theory: Run the weighted majority algorithm by hand with 5 experts, all starting with weight 1, and penalty factor β=12 (the weight of a wrong expert is multiplied by β). In round 1, experts 1,2,3 predict 1 and experts 4,5 predict 0, and the true label is 0. In round 2, experts 1,2 predict 0 and experts 3,4,5 predict 1, and the true label is 1. What does the algorithm predict, and what are the weights, after each round?