-
主要的
列主消元法解线性方程组源程序-main-elimination method for solving linear equations source
- 2023-04-05 16:55:03下载
- 积分:1
-
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
-
用C++语言实现的基于小波分析的源代码,实现了小波分析的诸多算法...
用C++语言实现的基于小波分析的源代码,实现了小波分析的诸多算法-With C++ Language based on wavelet analysis of the source code, the realization of the wavelet analysis of many algorithms
- 2022-11-08 02:10:04下载
- 积分:1
-
The cart with an inverted pendulum, shown below, is "bumped" with an impulse
f...
The cart with an inverted pendulum, shown below, is "bumped" with an impulse
force, F. Determine the dynamic equations of motion for the system, and lin
earize about the pendulum s angle, theta = Pi (in other words, assume that p
endulum does not move more than a few degrees away from the vertical, chosen
to be at an angle of Pi). Find a controller to satisfy all of the design re
quirements given below.
-The cart with an inverted pendulum, shown below, is "bumped" with an impulse force, F. Determine the dynamic equations of motion for the system, and lin earize about the pendulum s angle, theta = Pi (in other words, assume that p endulum does not move more than a few degrees away from the vertical, chosen to be at an angle of Pi). Find a controller to satisfy all of the design re quirements given below.
- 2022-03-17 02:37:20下载
- 积分:1
-
poj 1523的代码和方法说明,个人原创
poj 1523的代码和方法说明,个人原创
- the codes and solution for poj 1523
- 2022-03-18 16:17:02下载
- 积分:1
-
C计算器
资源描述利用堆栈实现的计算器,具备一般计算器的功能。包含加减乘除,负数,括号,sin,cos,tan, 乘方等运算。
- 2022-05-28 00:03:06下载
- 积分:1
-
大约有10种排序方法,如堆排序、快速排序、归并排序、插入排序、外壳排序、选择排序、早泡排序、线性排序、地址选择排序和基排序。我自己提出了一种简化的快速排序。...
大约有10种排序方法,如堆排序、快速排序、归并排序、插入排序、外壳排序、选择排序、早泡排序、线性排序、地址选择排序和基排序。我自己提出了一种简化的快速排序。-about 10 species of sequencing methods, such as heap sort, quick sort, merge, in order to insert sequencing, shell sort, select, in order of ranking as foam, linear ordering, sequencing and address choice-based ranking. I propose a simplified Quick Sort.
- 2022-11-06 10:35:04下载
- 积分:1
-
分支定界算法
用分支定界算法解决线性规划问题 约束条件为整数 采用分支 定界 剪枝获得最优解 减少计算量
- 2023-02-07 17:50:03下载
- 积分:1
-
VB function of the body and optimization including 0.618 search, not derivative...
VB的函数体及优化包括0.618搜索、Brent不导数法、Brent导数法、多函数Hill单纯形法、多函数作为准则
- 2022-11-23 14:35:04下载
- 积分:1
-
using gall function for measure the algorithm
using gall function for measure the algorithm
- 2022-02-02 05:22:06下载
- 积分:1