登录
首页 » 算法 » BP网络的C/C++实现,含有详细代码和例子,适合初学者

BP网络的C/C++实现,含有详细代码和例子,适合初学者

于 2022-08-03 发布 文件大小:362.54 kB
0 202
下载积分: 2 下载次数: 1

代码说明:

应用背景人工神经网络(ANN)中关于反向传播算法的内容,相比单个感知器而言,采用多层网络的反向传播算法能表示出更多种类的非线性曲面,整个神经网络可以分成三层:输入层,隐藏层,输出层,通过加权线性变换,层与层之间的传递,最终得到输入层的实数值。关键技术 本人根据附件里面的文章编写的反向传播算法代码,里面含有详细的代码注释和文章例子, 可以让初学者深刻理解反向传播算法,适合初学者学习。给出BP算法训练的例子,对单个样本的训练的情况进行编写和验证。 //输入层到隐层的过程 float fNetj[m]; for (int j= 0;j < m; j++){ fNetj[j] = fTheta[n][j]; //这里权值矩阵最后一列是偏置,偏置×1还是偏置,所以直接加上, //后面就不用乘了 for(int i = 0;i < n; i++){ //得到netj 的值 netj= X^V fNetj[j] +=fInputdata[i]*fTheta[i][j]; } fMidResult[j] = 1/(1 + exp(-fNetj[j])); //cout

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • the codes and solution for zoj 2210
    zoj 2210的代码和方法说明,个人原创 -the codes and solution for zoj 2210
    2022-03-21 00:59:08下载
    积分:1
  • 这是我的毕业设计,所以我认为人们还是习惯写的,所以,我何…
    这个是我的毕业设计做的我觉得对大家还是有写用的,所以我给打击看看希望大家也给点意见。-this is my graduation design so I think people are still used to write, So, I hope to see you blow also points.
    2023-06-18 20:20:03下载
    积分:1
  • PHP的
    应用背景卡特我说。硒碲VA llenar de basura TODO埃尔锡蒂乌独奏POR colocar埃斯特的类型,现在。最好是因为没有sitve de纳达cambienlo。独奏quitar Tiempo关键技术我需要bajar EL普通单人对位VER四我就像Y瞧我modificar旁做些MEJOR。encuentro Inutil埃斯特的类型关怀。当UNO有阙一算法。实现libremente LO。SE LES VA llenar埃尔锡蒂乌de Pura basura
    2022-03-10 21:35:53下载
    积分:1
  • Molgedey和舒斯特去相关,具有方形混合矩阵A。
    The Molgedey and Schuster decorrelation algorithm, having square mixing matrix and no noise . Truncation is used for the time shifted matrix, and it is forced to be symmetric . The delay Tau is estimated . The number of independent components are calculated using Bayes Information Criterion (BIC), with PCA for dimension reduction.-The Molgedey and Schuster decorrelation algorithm, having square mixing matrix and no noise . Truncation is used for the time shifted matrix, and it is forced to be symmetric . The delay Tau is estimated . The number of independent components are calculated using Bayes Information Criterion (BIC), with PCA for dimension reduction.
    2022-03-17 02:59:15下载
    积分:1
  • Yang Hui triangle VB calculation program can be used to achieve 50 Levels
    杨辉三角形的VB计算程序,可用实现50及以内的杨辉三角形计算,也可用给不太了解计算机的朋友展示一下计算机的计算速度-Yang Hui triangle VB calculation program can be used to achieve 50 Levels
    2022-08-24 03:29:19下载
    积分:1
  • 等值线插值Pascal程序
    等值线插值Pascal程序-contours Pascal interpolation procedures
    2022-02-01 07:39:22下载
    积分:1
  • 我的串的比较实现
    我的串的比较算法实现-my string comparison algorithm
    2023-02-17 15:10:03下载
    积分:1
  • Started Jacobian symbols used to calculate Legendre symbol for the value judgmen...
    新手上路 用雅可比符号来计算勒让德符号的值 用于判断与素数p互素的正整数n是否是mod p 的二次剩余-Started Jacobian symbols used to calculate Legendre symbol for the value judgment and mutual-p-a positive integer n is whether the mod p Quadratic Residue
    2022-07-24 00:22:37下载
    积分:1
  • 彩色图像的人脸检测
    face detection in color image
    2022-07-25 12:51:42下载
    积分:1
  • 2013微软编程之美挑战赛初赛源代码
    2013年编程之美挑战赛,初赛、复赛部分题目的代码,已经在OJ平台上通过测试。 题目有:招聘、无尽的编号、集会、管道系统、相似字符串、竞价、树上的三角形和传话游戏
    2022-03-22 10:24:47下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载