Showing posts with label Class Notes: Theory of Computation. Show all posts
Showing posts with label Class Notes: Theory of Computation. Show all posts

Single Layer Perceptron Learning Algorithm and Flowchart of the Program and the Code of the Program in C++

The Single Layer Perceptron Learning Algorithm:

Step 1:        Initialize all weights and threshold and values.
Step 2:        Get the weighted sum of one input.
Step 3:        Compare the weighted sum with the threshold and set value to output.
Step 4:        If the input is of class A