BP神经网络——Python简单实现三层神经网络(Numpy)

Python019

BP神经网络——Python简单实现三层神经网络(Numpy),第1张

表示m+1层网络,第i层节点数为 ,输入为 ,输入为

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