An Adaline has two weights, no bias, starting at , with learning rate and the delta rule . Apply it to the sample with target , then to with target . What are the weights after each step? For what range of is a single repeated sample stable?
Supervised learning, Adaline and the delta rule
Level L2 Elementary. Length Medium. Nature Mat Mathematical.
What's being asked
A hand run of the LMS rule, and the stability condition for a single sample.
Key idea
Each step changes by . For one repeated sample the error shrinks by the factor each step, so stability needs .
Steps
- Step 1: output , error . Update .
- Step 2: output , error . Update .
- Stability: for a fixed sample, the new error is .
- Here . The errors shrink if , which gives .
- Note that would give , so the error vanishes in one step. Above the error grows with alternating sign.
Common mistakes
- Using the thresholded output to compute the error. Adaline uses the linear output.
- Using the old weights for step 2 instead of the weights after step 1.
- Forgetting that with many samples the safe range depends on the largest eigenvalue of (or ), not on one sample.
How long your answer should be
Half a page, 4 minutes.
Last checked on 4 December 2026.
Read this
Previous in Supervised learning: Run the perceptron algorithm with learning rate 1, starting from and , on the points with label , with , with and with , in this order. A point counts as a mistake if . What are the weights after each update, and when does it stop?
Next in Supervised learning: With candidate features, how many models does best-subset selection have to consider, and how many model fits does forward stepwise selection need? What changes for , and why might forward stepwise still give a worse model than best subset?