BP神经网络 numpy实现BP神经网络,支持自定义网络层数、神经元个数、激活函数,用visdom可视化训练结果。 python版本 3.6.4 测试结果如下: 左图为loss曲线 右图为验证集拟合曲线 拟合y=sinx 拟合y=x² 拟合y=x1+x2