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

📄 recognition.h

📁 数字识别
💻 H
字号:
// Recognition.h: interface for the CRecognition class.
// CRecognition 数字识别类,采用了十个神经元,每个神经元识别不同的笔划特征。
//				具体特征参见资源里的图
//////////////////////////////////////////////////////////////////////
#include "Node.h"

#if !defined(AFX_RECOGNITION_H__E3A34198_D2A4_40D5_A9DB_A2BD8E484D21__INCLUDED_)
#define AFX_RECOGNITION_H__E3A34198_D2A4_40D5_A9DB_A2BD8E484D21__INCLUDED_

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

class CRecognition  
{
private:
	CNode * node[10];
public:
	CRecognition();
	virtual ~CRecognition();
	int Get(int * input); // 识别
	void Save();
	void Study(int * input, int * rs); // 学习,input为输入,rs为十个神经元对应正确输出
};

#endif // !defined(AFX_RECOGNITION_H__E3A34198_D2A4_40D5_A9DB_A2BD8E484D21__INCLUDED_)

⌨️ 快捷键说明

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