⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bp.h

📁 一个我做的BP神经网用于分类和测试的程序。是一个我第一个独立完成的程序。希望对大家有所帮助!
💻 H
字号:
// BP.h: interface for the CBP class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_BP_H__E0ECD2E0_B703_428C_B9FA_606C27D05243__INCLUDED_)
#define AFX_BP_H__E0ECD2E0_B703_428C_B9FA_606C27D05243__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CBP  
{
public:
	CBP();
	virtual ~CBP();
	CBP(int f,int sh,int be,int layer);
	void initial();
	void Trainnet(double **inputarry);
	double func(double x);
	void  test_everynet(double *inputunarray);
	double Train_everynet(int z);	

private:
	double **first;
	double **second;
	double **shuru;
	double *yuzhi1;
	double *yuzhi2;
	int front;
	int shadow;
	int behind;
    int *Node;
// 	int *Noderesult;
	int layernumber;
	double ***firstweight;
	double ***secondweight;
	int behindlayer;


};

#endif // !defined(AFX_BP_H__E0ECD2E0_B703_428C_B9FA_606C27D05243__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -