Question: Create sample data using two classes that are separable linearly and implement the perceptron to determine an appropriate decision function. Repeat this process and include
Create sample data using two classes that are separable linearly and implement the perceptron to determine an appropriate decision function.
Repeat this process and include data samples that will make the two classes not linearly separable and see if the Perceptron still works albeit with a lesser classification accuracy.
Implement the generalized decision function formulation GDF for the rth order and with n Illustrate that your program works for the cases:
a Second degree with dimensions
b Third degree with dimensions
c Second degree with dimensions
d Third degree with dimensions
Perhaps initially you set all the weights to and observe your results, then as you vary the different weights singularly look at the change experienced in the various GDFs
Use Jupyter notebook python
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
