You can vary the learning coefficients (0<lr<1), the desired output, initial weights etc. And then see the difference in the number of epoch’s it takes for the perceptron to learn a particular pattern.
For example : For AND Gate Yd=[0 0 0 1] and for OR Gate Yd=[0 1 1 1]
Here we display the output for AND operation:
The Author is an MTech in Computer Science and Engineering from M.A. College of Engineering, Kothamangalam. He currently teaches Computer Science(UWE) at Villa College, Male`, Maldives.
For any queries, you can reach the author at – email@example.com