( A, B )---3*30*2---( 1, 0 )( 0, 1 )
让网络的输入有3个节点,训练集AB各由5张二值化的图片组成,让A中有6个1,B中全是1,排列组合A ,统计迭代次数并排序。共收集到了181个不同的迭代次数,其中有4个
A-B | 迭代次数 | 平均列 | 排斥力 | ||||||||||
2 | 2 | 2 | 0*4*1*2*7-7*7*7*7*7 | 3517.633 | 1 | 0 | 2 | 2 | 2 | 3 | 17.16667 | ||
+ | 2 | 2 | 0*4*1*2*7-7*7*7*7*7 | 3517.633 | 1 | ||||||||
2 | 2 | + | 0*4*1*2*7-7*7*7*7*7 | 3517.633 | 1 | ||||||||
2 | + | 2 | 0*4*1*2*7-7*7*7*7*7 | 3517.633 | 1 | ||||||||
+ | + | + | 0*4*1*2*7-7*7*7*7*7 | 3517.633 | 1 | ||||||||
| 1 | ||||||||||||
2 | 2 | 2 | 0*1*2*7*4-7*7*7*7*7 | 3644.266 | 2 | 2 | 0 | 2 | 2 | 3 | 13.31944 | ||
2 | 2 | + | 0*1*2*7*4-7*7*7*7*7 | 3644.266 | 2 | ||||||||
2 | + | 2 | 0*1*2*7*4-7*7*7*7*7 | 3644.266 | 2 | ||||||||
+ | + | + | 0*1*2*7*4-7*7*7*7*7 | 3644.266 | 2 | ||||||||
+ | 2 | 2 | 0*1*2*7*4-7*7*7*7*7 | 3644.266 | 2 | ||||||||
| 2 | ||||||||||||
2 | 2 | 2 | 0*2*7*4*1-7*7*7*7*7 | 3760.397 | 3 | 2 | 2 | 0 | 2 | 3 | 12.48611 | ||
2 | + | 2 | 0*2*7*4*1-7*7*7*7*7 | 3760.397 | 3 | ||||||||
+ | + | + | 0*2*7*4*1-7*7*7*7*7 | 3760.397 | 3 | ||||||||
+ | 2 | 2 | 0*2*7*4*1-7*7*7*7*7 | 3760.397 | 3 | ||||||||
2 | 2 | + | 0*2*7*4*1-7*7*7*7*7 | 3760.397 | 3 | ||||||||
| 3 | ||||||||||||
2 | 2 | 2 | 0*7*4*1*2-7*7*7*7*7 | 3873.864 | 4 | 2 | 2 | 2 | 0 | 3 | 11.54167 | ||
+ | + | + | 0*7*4*1*2-7*7*7*7*7 | 3873.864 | 4 | ||||||||
+ | 2 | 2 | 0*7*4*1*2-7*7*7*7*7 | 3873.864 | 4 | ||||||||
2 | 2 | + | 0*7*4*1*2-7*7*7*7*7 | 3873.864 | 4 | ||||||||
2 | + | 2 | 0*7*4*1*2-7*7*7*7*7 | 3873.864 | 4 | ||||||||
| 4 |
收敛误差7e-4,每组收敛199次。统计平均值。
如果等位点A为1,B为0,记为1;A为0,B为1记为2;AB都是1记为“+”;AB都是0记为“-”。
由此得到最后一组0*7*4*1*2-7*7*7*7*7的差值结构
0*7*4*1*2 | 7*7*7*7*7 | 差值结构 | ||||||||
0 | 0 | 0 | 1 | 1 | 1 | 2 | 2 | 2 | ||
1 | 1 | 1 | 1 | 1 | 1 | + | + | + | ||
1 | 0 | 0 | 1 | 1 | 1 | + | 2 | 2 | ||
0 | 0 | 1 | 1 | 1 | 1 | 2 | 2 | + | ||
0 | 1 | 0 | 1 | 1 | 1 | 2 | + | 2 |
与之对应的平均列为2,2,2,0,3.用
计算排斥力为F=11.54
其余3组为
迭代次数 | 排斥力 |
3517.633 | 17.16667 |
3644.266 | 13.31944 |
3760.397 | 12.48611 |
3873.864 | 11.54167 |
迭代次数与列排斥力的反比关系依然存在。