



























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




























Neural Networks
AND Function
2
1 x 1 x 2 AND( x 1 ,^ x 2 ) -1 -1 - -1 1 - 1 -1 - 1 1 1 -1 + x 1 + x 2 = 0 x 1 x 2 AND Function (ā 1 Ć 1 ) + (ā 1 Ć 1 ) ā 1 < 0 ā ā 1 (ā 1 Ć 1 ) + ( 1 Ć 1 ) ā 1 < 0 ā ā 1 ( 1 Ć 1 ) + (ā 1 Ć 1 ) ā 1 < 0 ā ā 1 ( 1 Ć 1 ) + ( 1 Ć 1 ) ā 1 > 0 ā 1 AND Function
x 1 x 2 AND( x 1 , -1 -1 - -1 1 - 1 -1 - 1 1 1 -1 + x 1 + x 2 = 0
T
T
T y = w T x y = w T x
Convolution via Neural Networks
Convolution Operation https://grzegorzgwardys.wordpress.com/2016/04/22/8/ y 11 = w 11 x 11 + w 12 x 12 + w 21 x 21 + w 22 x 22 y 12 = w 11 x 12 + w 12 x 13 + w 21 x 22 + w 22 x 23 y 21 = w 11 x 21 + w 12 x 22 + w 21 x 31 + w 22 x 32 y 22 = w 11 x 22 + w 12 x 23 + w 21 x 32 + w 22 x 33 w x y 11 y 12 y 21 y 22 x 11 x 12 x 13 x 21 x 22 x 23 x 31 x 32 x 33 w 11 w 12 w 21 w 22
https://grzegorzgwardys.wordpress.com/2016/04/22/8/
11
12
13
21
22
23
31
32
33
11
12
21
22 w x y 11 y 12 y 21 y 22 x 11 x 12 x 13 x 21 x 22 x 23 x 31 x 32 x 33 w 11 w 12 w 21 w 22 y 11 = w 11 x 11 + w 12 x 12 + w 21 x 21 + w 22 x 22 y 12 = w 11 x 12 + w 12 x 13 + w 21 x 22 + w 22 x 23 y 21 = w 11 x 21 + w 12 x 22 + w 21 x 31 + w 22 x 32 y 22 = w 11 x 22 + w 12 x 23 + w 21 x 32 + w 22 x 33
Transforming Multilayer Perceptron to CNN https://grzegorzgwardys.wordpress.com/2016/04/22/8/
More Details
Convolutional Neural Network
Recap - Convolution - Numerical Example Image Filter Conv Output 1 9 7 3 6 9 1 0 - 8 3 0 6 0 6 1 0 -1 -3 -3 -2 - 1 0 6 6 9 9 1 0 -1 2 -13 1 0 4 4 5 8 1 5 -4 -12 1 6 3 5 1 7 1 1 Ignoring flip 2 -14 2 17 3 1 2 9 4 1
Recap - Convolution - Smoothing Filter Image Filter Conv Output 128 128 128 52 52 52 1 1 1 128 128 128 52 52 52 1 1 1 x1/9 128 103 77 52 128 128 128 52 52 52 1 1 1 103 94 86 77 52 52 52 128 128 128 77 86 94 103 52 52 52 128 128 128 Ignoring flip 52 77 103 128 52 52 52 128 128 128