linear Non-point problem linear neuron Model
Response function: Linear
Function: Fitting--"make all points of error squared and minimum (adaptive linear fitting)
Learning Rules
W-h Learning Rules (Δ Learning rules)
The use of W-h learning rules can be used to train the weights and deviations of certain networks to approximate a function in a linear way and to model Association (Pattern Association).
the output error function that defines a linear network is:
our aim is to achieve the minimum value of E (w,b) by adjusting the weight vector.
therefore, after given E (w,b), the w-h learning rule is used to correct the weight vector and the deviation vector, so that E (w,b) starts at a point in the error space and slides along the oblique face of E (w,b).
according to the gradient descent method, the correction value of the weight vector is proportional to the gradient of E (w,b) at the current position, for the first output node:
or expressed as:
---"Error (Ti: Ideal output AI: Model output)
η is the learning rate. In general practice, it has been shown that η usually take a close 1 of the number, or take the value of:
This method of learning rate is realized by function maxlinlr.m in the Neural network Toolbox. The upper type can be expressed as:
Network Training
The network training process of adaptive linear elements can be summarized into the following three steps:
1) Expression: Compute the output vector of the model a=w*p 10 B, and the error e=t-a with the desired output;
2) Check: The network output error squared and compared with the expected error, if its value is less than the expected error, or training has reached the maximum number of training set beforehand, then stop training;
3 Learning: Using W-h Learning rules to calculate new weights and deviations, and return to 1. Example Analysis
[Example 2] Now consider the design of a larger neural network pattern Association. The input vector and the target vector (ideal output) are:
Solution: The input vector and the target output vector can be obtained: the input vector number r=3, the output vector number s=4, the sample number q=4. So the structure of the network is shown in the following illustration.
The solution of this problem can also be solved by a linear equation group, which is to write out the relationship equation between input and output for each output node.
the network weights after training are:
error Recording in the course of network training
the only exact solution to the 0 error is:
comparison and analysis of the sensor
Perceptron and adaptive linear networks
(1) Network model structure
The main difference in structure is the activation function: One is a two-valued type, a linear one.
(2) Learning algorithm
The algorithm of Perceptron is the first proposed convergent algorithm, and its adaptive thought is developed by Widrow and Hoffman into a gradient descent method with the least error. Finally, the BP algorithm is further promoted, they belong to the same class algorithm.
(3) Applicability and limitations
The Perceptron can only perform a simple classification. As already seen from the previous examples, the perceptron can divide the input into two categories or four classes. Its limitation is that it can only classify linear and measurable inputs.
The adaptive Linear Network, in addition to the linear classification as the Perceptron, has more linear approximation, only because its activation function can be continuously evaluated and different from the Perceptron only to take 0 or 1.