-
BP网络的C/C++实现,含有详细代码和例子,适合初学者
应用背景人工神经网络(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
- 2022-08-03 01:10:12下载
- 积分:1
-
stl文件读取与显示
应用背景STL =
STL文件,一种3D模型文件格式STL(STereo Lithography的缩写)
STL文件格式是由3D SYSTEMS 公司于1988
年制定的一个接口协议,是一种为快速原型制造技术服务的三维图形文件格式。STL 文件由多个三角形面片的定义组成,每个三角形面片的定义包括三角形各个定点的三维坐标及三角形面片的法矢量。三角形顶点的排列顺序遵循右手法则。 STL 文件有2 种类型:文本文件(ASCII格式)和二进制文件(BINARY)。关键技术This program may crash your system or run poorly depending on your
hardware. The program and code contained in this archive was scanned
for virii and has passed all test before it was put online. If you
use this code in project of your own, send a shout out to the author!
- 2022-05-08 08:33:51下载
- 积分:1
-
道格拉斯算法
这里介绍的是利用道格拉斯算法实现制图综合,特别是图像的处理,方便而实用,代码简单,原理清楚,希望大家下载互相学习,共同进步!
- 2022-08-18 17:25:29下载
- 积分:1
-
实用条码转换系统下载
实用条码转换系统下载-practical barcode conversion system download
- 2022-08-20 16:39:41下载
- 积分:1
-
该功能将被指定为相应的一年的统治法国因此吨。
The functionality is to be designated the corresponding year reign France Thus the year, which was the year of the zodiac. But can be designated a specific date date of the lunar calendar. Author Note : I used to do this as a commercial product development PDA calendar procedures in recent transplant PC, ... software categories : algorithm related paper from the shrimp off FO
- 2022-03-04 19:17:42下载
- 积分:1
-
在 Matlab 中的遗传算法
这是在 Matlab 遗传算法的一个实现。欢迎下载。谢谢你的支持。
- 2022-05-26 02:31:27下载
- 积分:1
-
this program is continuation of 1laser
this program is continuation of 1laser - can fire 2 lasers rangefinders from MDL simultaneusly and then registers measured distance to file - very useful for photogrametry-this program is continuation of 1laser- can fire 2 lasers rangefinders from MDL simultaneusly and then registers measured distance to file- very useful for photogrametry
- 2022-03-25 19:09:06下载
- 积分:1
-
八皇后问题
///////////////////////////////////////////////////
// 八皇后问题
// 循环实现, 共有92个解
// 命令窗口显示
请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2023-08-08 01:40:03下载
- 积分:1
-
binary numbers
- 2023-04-03 15:30:05下载
- 积分:1
-
School operations, the mine self
学校作业,自编的扫雷代码,能实现扫雷游戏的基本操作-School operations, the mine self-compiled code, can achieve the basic operation of the game de-mining
- 2022-06-21 06:53:10下载
- 积分:1