Start learning →

The LMS (Widrow–Hoff) update rule on a single training example is

Aθⱼ := θⱼ · y⁽ⁱ⁾
Bθⱼ := θⱼ + α · (y⁽ⁱ⁾ − h_θ(x⁽ⁱ⁾)) · xⱼ⁽ⁱ⁾
Cθⱼ := θⱼ − α · y⁽ⁱ⁾
Dθⱼ := xⱼ⁽ⁱ⁾ − y⁽ⁱ⁾
Answer & Solution
Correct answer: B. θⱼ := θⱼ + α · (y⁽ⁱ⁾ − h_θ(x⁽ⁱ⁾)) · xⱼ⁽ⁱ⁾
LMS / Widrow–Hoff: θⱼ := θⱼ + α(y − h(x))xⱼ. Update is proportional to the ERROR — large error ⇒ big update; near-zero error ⇒ no update. This is the gradient of the squared-error loss.
Practise this question with Quill — Claude →

Keep practising Linear Regression and Supervised Learning

Browse all Linear Regression and Supervised Learning questions for Claude, or explore more Aifoundations topics.

Start a Linear Regression and Supervised Learning lesson →
Related questions