Raining Algorithm For Full CPN
Raining Algorithm For Full CPN
Raining Algorithm For Full CPN
Step 2: For each of the training input vector pair x:y presented, perform step 3 to .
If dot product method is used, find the cluster unit zj with target net input; for j=1 to p,
zinj=∑xi.vij + ∑yk.wkj
If Euclidean distance method is used, find the cluster unit zj whose squared distance from input vectors is the smallest:
Dj=∑(xi-vij)^2 + ∑(yk-wkj)^2
If there occurs a tie in case of selection of winner unit, the unit with the smallest index is the winner. Take the winner unit index as J.
Step 5: Update the weights over the calculated winner unit zj.
α (t+1)=0.5α(t); β(t+1)=0.5β(t)
Step 8: Perform step 9 to 15 when stopping condition is false for phase II training.
Step 9: Perform step 10 to 13 for each training input vector pair x:y. Here α and β are small constant values.
Step 10: Make the X-input layer activations to vector x. Make the Y-input layer activations to vector y.
Step 11: Find the winning cluster unit (Using the formula from step 4). Take the winner unit index as J.
Step 13: Update the weights from unit zj to the output layers.
a(t+1)=0.5a(t); b(t+1)=0.5b(t)
Step 15: Test stopping condition for phase II training.
A simplified version of full CPN is the forward-only CPN. Forward-only CPN uses only the x vector to form the cluster on the Kohonen
units during phase I training. In case of forward-only CPN, first input vectors are presented to the input units. First, the weights between
the input layer and cluster layer are trained. Then the weights between the cluster layer and output layer are trained. This is a specific
competitive network, with target known.
Step 1: Perform step 2 to 7 when stopping condition for phase I training is false.
Step 4: Compute the winning cluster unit J. If dot product method is used, find the cluster unit zJ with the largest net input:
zinj=∑xi.vij
If Euclidean distance is used, find the cluster unit zJ square of whose distance from the input pattern is smallest:
Dj=∑(xi-vij)^2
If there exists a tie in the selection of winner unit, the unit with the smallest index is chosen as the winner.
viJ(new)=viJ(old) + α[xi-viJ(old)]
α (t+1)=0.5α(t)
Step 8: Perform step 9 to 1 when stopping condition for phase II training is false.
Step 10: Set X-input layer activations to vector X. Set Y-output layer activation to vector Y.
Step 12: Update the weights into unit zJ. For i=1 to n,
viJ(new)=viJ(old) + α[xi-viJ(old)]
Step 13: Update the weights from unit zJ to the output units.
β(t+1)=0.5β(t)