Skip to content
ml-recall

#learning-rule

2 questions from Neural Network Basics

Timed test

2 questions · 2 min · score and explanations at the end

Take a test
Q 1 / 2Score 0 / 0

Question 1: Short answer

mediumAI-checkedNeural Network Basics

Run the perceptron algorithm (step size 1, initial weights w=(0,0,0)\mathbf{w} = (0, 0, 0)) on the augmented points (1,x1,x2)(1, x_1, x_2), cycling through them in this order: negative (−1,0)(-1, 0), negative (2,−2)(2, -2), positive (1,0)(1, 0). A point counts as misclassified when y (w⋅x)≤0y\,(\mathbf{w} \cdot \mathbf{x}) \le 0, and then w←w+y x\mathbf{w} \leftarrow \mathbf{w} + y\,\mathbf{x}. How many updates happen before a full pass makes no mistake?

a whole number