weight[m]=
threshold[m]=
delta_weight[m]=
delta_threshold[m]=
输入为 ,输入为
for k in range(1,m+1):#循环m次
----#
----#
初始化:
E_H[m]=
H_I[m]=
for k in range(m,0,-1):
----#1.
----#2.
----#3.
----#4.
weight[m]=weight[m]+delta_weight[m]
threshold[m]=threshold[m]+delta_threshold[m]
python实现的BP神经网络
https://github.com/dai-zb/BPNN_python.git