bpnet.h
来自「该程序通过BP算法实现0-9的数字识别」· C头文件 代码 · 共 32 行
H
32 行
// BPNet.h: interface for the CBPNet class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_BPNET_H__3BCA0CF8_FD3A_459E_9CEC_F9A69AB9006D__INCLUDED_)
#define AFX_BPNET_H__3BCA0CF8_FD3A_459E_9CEC_F9A69AB9006D__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "mychangshu.h"
class CBPNet
{
public:
CBPNet();
virtual ~CBPNet();
//double output[P];
float output0[N];
BOOL simpling; //用来判断是否被训练过
BOOL bSuccess;
float output1[M1];//,output2[M2],output3[M3];
float output[P];
float intoh_w[N][M1];
float hide1_w[M1][P];
//double hide2_w[M2][M3];
//double hide3_w[M3][P];
int t[10][10];
void InitWeight();
};
#endif // !defined(AFX_BPNET_H__3BCA0CF8_FD3A_459E_9CEC_F9A69AB9006D__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?