Question
1. Perceptron Mistakes Bookmark this page In this problem, we will investigate the perceptron algorithm with different iteration ordering. Consider applying the perceptron algorithm through
1. Perceptron Mistakes
Bookmark this page
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)=1 |
x(2) =[1,0], | y(2)=-1 |
x(3) =[-1, 1.5], | y(3)=1 |
Given that the algorithm starts with (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.
1. (a)
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)?
Also provide the progression of the separating plane as the algorithm cycles in the following list format: [[(1)1,(1)2],,[(N)1,(N)2]], where the superscript denotes different as the separating plane progresses. For example, if progress from [0,0] (initialization) to [1,2] to [3,2], you should enter [[1,2],[3,2]]
Please enter the number of mistakes of Perceptron algorithm if the algorithm starts with x(1).
unanswered
Please enter the progression of the separating hyperplane (, in the list format described above) of Perceptron algorithm if the algorithm starts with x(1).
()
unanswered
Please enter the number of mistakes of Perceptron algorithm if the algorithm starts with x(2).
unanswered
Please enter the progression of the separating hyperplane (, in the list format described above) of Perceptron algorithm if the algorithm starts with x(2).
1. (b)
In part (a), what are the factors that affect the number of mistakes made by the algorithm?
Note: Only choose factors that were changed in part (a), not all factors that can affect the number of mistakes
(Choose all that apply.)
Iteration order
Maximum margin between positive and negative data points
Maximum norm of data points
1. (c)
Now assume that x(3)=[1,10]. How many mistakes does the algorithm make until convergence if cycling starts with data point x(1)?
Also provide the progression of the separating plane as the algorithm cycles in the following list format: [[(1)1,(1)2],,[(N)1,(N)2]], where the superscript denotes different as the separating plane progresses. For example, if progress from [0,0] (initialization) to [1,2] to [3,2], you should enter [[1,2],[3,2]]
Please enter the number of mistakes of Perceptron algorithm if the algorithm starts with x(1).
unanswered
Please enter the progression of the separating hyperplane (, in a list format described above) of Perceptron algorithm if the algorithm starts with x(1).
unanswered
Please enter the number of mistakes of Perceptron algorithm if the algorithm starts with x(2).
unanswered
Please enter the progression of the separating hyperplane (, in the list format described above) of Perceptron algorithm if the algorithm starts with x(2).
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started