Question: Problem 5 ( 2 0 Points ) : Implementation of the Perceptron Algorithm In this problem, we will implement the Perceptron algorithm on synthetic training
Problem Points: Implementation of the Perceptron Algorithm
In this problem, we will implement the Perceptron algorithm on synthetic training data.
Points. Suppose that the data dimension d Generate two classes of data points with
points each, by sampling from Gaussian distributions centered at and Choose the
variance of the Gaussian to be small enough so that the data points are sufficiently well separated.
Points. Implement the Perceptron algorithm as discussed in class. Choose the initial weights to be
zero, the maximum number of epochs as T and the learning rate alpha How quickly does your
implementation converge?
Points. Now, repeat the above experiment with a second synthetic dataset; this time, increase the
variance of the Gaussians such that the generated data points from different classes now overlap. What
happens to the behavior of the algorithm?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
