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

📄 pr_perception_approach.h

📁 模式识别中的线性感知器算法 通过了测试
💻 H
字号:
#ifndef PR_PERCEPTION_APPROACH
#define PR_PERCEPTION_APPORACH

#include "PR_unit.h"

#include<fstream>
#include<string>

class PR_Perception_Approach
{
public:
	vector< PR_unit* > samples;
	PR_unit *w;

//	PR_Perception_Approach(){}
	PR_Perception_Approach(std::ifstream &fin);

	void Rand();
	void PrintSamples();
	void PrintW();

private:
	int num_samples;
	int num_vector;
	const int max_iterator; 

	double C;

	void Preprocessing();		//the preprecess step, expand the sapmles vector

};

#endif

⌨️ 快捷键说明

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