0% found this document useful (0 votes)
62 views3 pages

Perceptron Basics for Beginners

This perceptron has two input cells (x0 and x1), three synapses (w0, w1, w2), and learns through updating the synapse weights over multiple epochs based on the difference between its output and the expected output. It is trained on four examples, making adjustments to w0 with each misclassification but leaving w1 and w2 unchanged, until it correctly classifies all examples.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
62 views3 pages

Perceptron Basics for Beginners

This perceptron has two input cells (x0 and x1), three synapses (w0, w1, w2), and learns through updating the synapse weights over multiple epochs based on the difference between its output and the expected output. It is trained on four examples, making adjustments to w0 with each misclassification but leaving w1 and w2 unchanged, until it correctly classifies all examples.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd

Perceptron with two input cells

input synapses c9 = 0.5


x0 1 w0 -1.5 c10 = 1
x1 1 w1 1
x2 1 w2 1
Activation function
Computation
s 0.5
y 1

results X2
1 0 1
X1 0 1 1
1 1 1
e1 e2 d neta 1
0 0 0
0 1 1 w0 w1 w2
1 0 1 final result 0 0 0
1 1 1

no epoch row x0 x1 x2 w0 w1 w2
0 0 0 0
1 1 1 1 0 0 0 0 0
2 1 2 1 0 1
3 1 3 1 1 0
4 1 4 1 1 1
5 2 1 1 0 0
6 2 2 1 0 1
7 2 3 1 1 0
8 2 4 1 1 1
9 3 1 1 0 0
10 3 2 1 0 1
11 3 3 1 1 0
12 3 4 1 1 1
13 4 1 1 0 0
14 4 2 1 0 1
15 4 3 1 1 0
16 4 4 1 1 1
deltaw0 deltaw1 deltaw2 s y d error
0 0 0
-1 0 0 0 1 0 -1
0 0 0 0 1 1 0
0 0 0 0 1 1 0
0 0 0 0 1 1 0
-1 0 0 0 1 0 -1
0 0 0 0 1 1 0
0 0 0 0 1 1 0
0 0 0 0 1 1 0
-1 0 0 0 1 0 -1
0 0 0 0 1 1 0
0 0 0 0 1 1 0
0 0 0 0 1 1 0
-1 0 0 0 1 0 -1
0 0 0 0 1 1 0
0 0 0 0 1 1 0
0 0 0 0 1 1 0

You might also like