Question: Perceptron Update 1 1 point possible ( graded ) Now consider the Perceptron algorithm with Offset. Whenever there is a mistake ( or equivalently, whenever

Perceptron Update 1
1 point possible (graded)
Now consider the Perceptron algorithm with Offset. Whenever there is a "mistake" (or equivalently, whenever
y(i)(*x(i)+0)0 i.e. When the label yi and h(x) do not match), perceptron updates
with +y(i)x(i)
and
0 with 0+y(i)
More formally, the Perceptron Algorithm with Offset is defined as follows:
Perceptron ({(x(i),y(i)),i=1,dots,n},T) :
initialize =0(vector); 0=0(scalar)
for t=1,dots,Tdo
for i=1,dots,ndo
ify(i)(*x(i)+0)0 then
update =+y(i)x(i)
update 0=0+y(i)
In the next set of problems, we will try to understand why such an update is a reasonable one.
When a mistake is spotted, do the updated values of and 0 provide a better prediction? In other words, is
y(i)((+y(i)x(i))*x(i)+0+y(i))
always greater than or equal to
y(i)(*x(i)+0)
Yes, because +y(i)x(i) is always larger than
Yes, because (y(i))2||x(i)||2+(y(i))20
No, because (y(i))2||x(i)||2-(yi)20
No, because +y(i)x(i) is always larger than
 Perceptron Update 1 1 point possible (graded) Now consider the Perceptron

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!