Question: In this problem, we will investigate the perceptron algorithm with different iteration ordering. Consider applying the perceptron algorithm through the origin based on a small

In this problem, we will investigate the perceptron algorithm with different iteration ordering.
Consider applying the perceptron algorithm through the origin based on a small training set containing three points:
x(1)=[-1,-1], y=1
x(2)=[1,0], y=-1
x(3)=[-1,1.5], y=1
Given that the algorithm starts with theta(0)=0, the first point that the algorithm sees is always considered a mistake. The algorithm starts with some data point and then cycles through the data (in order) until it makes no further mistakes.
How many mistakes does the algorithm make until convergence if the algorithm starts with data point x(1)? How many mistakes does the algorithm make if it starts with data point x(2)?

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!