RDPTA
代码说明:
Algorithm Given are P training pairs {X1,d1,X2,d2....Xp,dp}, where Xi is (n*1) di is (n*1) No of Categories=R. i=1,2,...P Yi= Augmented input pattern( obtained by appending 1 to the input vector) i=1,2,…P In the following, k denotes the training step and p denotes the step counter within the training cycle Step 1: c>0 , Emin is chosen, Step 2: Weights are initialized at w at small values, w is (n+1)*1. Counters and error are initialized. k=1,p=1,E=0 Step 3: The training cycle begins here. Input is presented and output computed: Y=Yp, d=dp Oi=f(wtY) for i=1,2,….R Step 4: Weights are updated: wi=wi+1/2c(di-oi)Y for i=1,2,…..R. Step 5: Cycle error is computed: E=1/2(di-oi)2+E for i=1,2,…..R. Step 6: If p0,then E=0 ,p=1, and enter the new training cycle by going to step 3.
下载说明:请别用迅雷下载,失败请重下,重下不扣分!