1.3 Testing Algorithm
It is very essential to perform the testing of a network that has been trained. When the training has been completed, the Adaline can be used to classify input patterns. A step function is used to test the performance of the network. The testing procedure for the Adaline network is as follows:
Step0: initialize the weights. (The weights are obtained from the training algorithm.)
Step1: perform steps 2-4 for each bipolar input vector x.
Step2: set the activations of the input units to x.
Step3: calculate the net input to the output units
Step4: apply the activation function over the net input calculated.
- Stands for multiple adaptive linear neuron
- It consists of many adalines in parallel with a single output unit whose value is based on certain selection rules.
- It uses the majority vote rule
- On using this rule, the output unit would have an answer either true or false.
- On the other hand, if AND rule is used, the output is true if and only if both the inputs are true and so on.
- The training process of madaline is similar to that of adaline
It consists of “n” units of input layer and “m” units of adaline layer and “1”
Unit of the Madaline layer
Each neuron in the adaline and madaline layers has a bias of excitation “1”
The Adaline layer is present between the input layer and the madaline layer; the adaline layer is considered as the hidden layer.
The use of hidden layer gives the net computational capability which is not found in the single-layer nets, but this complicates the training process to some extent.
2.2 Training Algorithm:
In this training algorithm, only the weights between the hidden layers are adjusted, and the weights for the output units are fixed. The weights v1, v2………vm and the bias b0 that enter into output unit Y are determined so that the response of unit Y is 1.