Write a matlab program to implement the Perceptron algorithm.
(a) Starting with a = 0, apply our program to the training data from ω1 and ω2.
Note the number of iterations required for convergence.
(b) Apply our program to ω3 and ω2. Again, note the number of iterations required
for convergence.
(c) Explain the difference between the iterations required in the two cases.
Comments
Leave a comment