Description: 3, a single compute node sensor, three inputs. Given three pairs of training samples are as follows:
X1 = (1,-2,0,-1), d1 =-1 X2 = (0,1.5,-0.5,-1), d2 =- 1 X3 = (-1,1,0.5,-1 ), d3 = 1
Let the initial weight vector W (0) = (0.5,1,-1,0.5), 2η = 0.1. Note, x fourth as the threshold constant equal to-1, right after the first two components of the vector is the threshold, try to train the perceptron learning rule based on the above.
To Search:
File list (Check if you may need any files):
ganzhiqi2.m