-
算法分析与设计,是我们的教程来的啊,希望不会让你失望拉...
算法分析与设计,是我们的教程来的啊,希望不会让你失望拉-algorithm analysis and design, is our guide to the ah, you will not be disappointed Rafah
- 2023-08-23 03:10:04下载
- 积分:1
-
太阳辐射计算
计算太阳辐射的程序:(1)计算太阳在水平面上的瞬时辐照度和平均辐照度;(2)计算太阳在倾斜面上的瞬时辐照度和平均辐照度;(3)计算太阳的赤纬角、高度角、时角等。很有帮助作用。
- 2022-06-20 17:42:11下载
- 积分:1
-
最优化问题的线性规划求解源码(研究生课程:最优化计算方法)...
最优化问题的线性规划求解源码(研究生课程:最优化计算方法)-optimization problem solving linear programming source (postgraduate courses : optimization method)
- 2022-03-07 06:33:19下载
- 积分:1
-
MP3播放器: 利用API函数[mciSendString]可以轻松实现MP3音乐文件的播放。下面这段程序实现了MP3播放的大部分常规操作,对其稍加修改,做一个...
MP3播放器: 利用API函数[mciSendString]可以轻松实现MP3音乐文件的播放。下面这段程序实现了MP3播放的大部分常规操作,对其稍加修改,做一个100KB大小的MP3播放器轻而易举 启动VB程序,在窗体上放置6个命令按钮,三个标签,一个公用对话框、一个进度条、一个状态栏和一个计时器,窗本的布置请参考附图 按钮"Open MP3 File"是用来打开对话框选择MP3文件,其他5个按钮分别为Play(播放)、Pause(暂停)、Stopplay(停止播放)、Back(向后跳跃)、Prew(向前跳跃)。Label1用来表示歌曲当前时间;label2放在时度条的最左边,Caption属性为"00:00";lable3放在时度条的右边,用来表示歌曲总长。-MP3 player : API function [mciSendString] can easily MP3 music player. Below this program of the MP3 player most of the conventional operation, its slightly modified, so the size of a 100KB MP3 player easily activated VB procedures, the forms to place orders six buttons, three label, a common dialog, a progress of a status bar and a 000 timer, the window layout of the buttons refer to the attached map. "MP3 File Open" is used to open the dialog box choose MP3 files, the other five buttons for Play (player), Pause (suspended), Stopplay (Cessation of players), Back (backwards jump), Prew (leap forward). Label1 songs said to the current time; Label2
- 2023-08-08 11:10:03下载
- 积分:1
-
与国际标准COMTRADE数据格式转换的顺应性,COM…
对于符合国际标准COMTRADE格式的数据进行转换处理,COMTRADE是电力系统自动化常用的数据格式。-for compliance with international standards COMTRADE data format conversion, COMTRADE power system automation is commonly used data formats.
- 2022-05-06 05:12:27下载
- 积分:1
-
说明: 1.本程序为复合形法
!* 2.程序功能是求解约束最优化问题...
说明: 1.本程序为复合形法
!* 2.程序功能是求解约束最优化问题-Note : 1. The procedures for the complex method!* 2. Programming is solving constrained optimization problem
- 2022-12-01 18:25:02下载
- 积分:1
-
数据结构-算法-C语言-Demo
#ifndef _BINARY_TREE_H_INCLUDED#define _BINARY_TREE_H_INCLUDED#include #include templatestruct Bintree_node {T element;Bintree_node* lchild;Bintree_node* rchild;explicit Bintree_node(const T& elem=T(), Bintree_node* lchd=0, Bintree_node* rchd=0): element(elem), lchild(lchd), rchild(rchd) {}};templateclass Binary_tree {public:typedef Bintree_node* PBtn;Binary_tree();virtual ~Binary_tree();void clear();int depth() const;int size() const;virtual PBtn find(const T& elem) const=0;virtual void insert(const T& elem)=0;virtual void erase(const T& elem)=0;virtual void print(std::ostream& output) const=0;void print_tree(std::ostream& output) const;protected:
- 2022-01-29 04:39:50下载
- 积分:1
-
very good c program for software6
very good c program for software6
- 2022-08-26 06:02:48下载
- 积分:1
-
支持多道进程并发的简单管理模拟系统
支持多道进程并发的简单管理模拟系统-Support for multi-channel process complicated by the simple management simulation system
- 2022-07-26 06:54:45下载
- 积分: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