You are on page 1of 4

Perceptron Learning of the function Input1 >= Input2 * 2 (1 if true) 0.

1 <--- Alpha

Input1 Input2 y Weight0 Weight1 Weight2 W·I h Err (y - h)


0.835 0.927 0 0.300 -0.200 0.500 -0.003 0 0
0.835 0.008 1 0.300 -0.200 0.500 -0.463 0 1
0.992 0.739 0 0.200 -0.116 0.501 0.054 1 -1
0.567 0.073 1 0.300 -0.216 0.427 -0.391 0 1
0.418 0.328 0 0.200 -0.159 0.434 -0.124 0 0
0.830 0.685 0 0.200 -0.159 0.434 -0.034 0 0
0.749 0.297 1 0.200 -0.159 0.434 -0.190 0 1
0.921 0.160 1 0.100 -0.084 0.464 -0.103 0 1
0.946 0.803 0 0.000 0.008 0.480 0.393 1 -1
0.110 0.312 0 0.100 -0.087 0.400 0.015 1 -1
0.468 0.532 0 0.200 -0.098 0.368 -0.050 0 0
0.455 0.626 0 0.200 -0.098 0.368 -0.014 0 0
0.590 0.523 0 0.200 -0.098 0.368 -0.065 0 0
0.355 0.022 1 0.200 -0.098 0.368 -0.226 0 1
0.184 0.958 0 0.100 -0.062 0.371 0.244 1 -1
0.546 0.496 0 0.200 -0.080 0.275 -0.108 0 0
0.531 0.575 0 0.200 -0.080 0.275 -0.085 0 0
0.287 0.116 1 0.200 -0.080 0.275 -0.191 0 1
0.098 0.970 0 0.100 -0.052 0.286 0.173 1 -1
0.224 0.623 0 0.200 -0.061 0.189 -0.096 0 0
Don't copy this line
**START COPY BLOCK HERE

**END COPY BLOCK HERE


Input1 Input2 y
0.835 0.927 0
0.992 0.739 0
0.418 0.328 0 1.200
0.830 0.685 0
0.946 0.803 0
1.000
0.110 0.312 0
0.468 0.532 0
0.455 0.626 0 0.800
0.590 0.523 0
0.184 0.958 0 Column
0.600
0.546 0.496 0 B
0.531 0.575 0
0.098 0.970 0 0.400
0.224 0.623 0
0.835 0.008 1
0.200
0.567 0.073 1
0.749 0.297 1
0.921 0.160 1 0.000
0.355 0.022 1 0.000 0.200 0.400 0.600 0.800 1.000 1.200
0.287 0.116 1
Column
B

0 1.200

You might also like