catagory.h
来自「7类别的 Adaline 神经网络的模式识别程序, 可自行变换或者定义要分类的目」· C头文件 代码 · 共 28 行
H
28 行
#ifndef CLASS_CATEGORY_HPP
#define CLASS_CATEGORY_HPP
#define Vector_Long 63
#define N_Category 7
class Category
{
private:
double vector[Vector_Long];
double bias;
double desire_output[N_Category];
public:
Category( );
~Category( ) { };
void Setcategory(double a[], double, double output[]);
double getvector(int);
void setvector(int, double);
double getbias();
void setbias(double);
double getdesire_output(int);
//void Training(Category A, Category weight[N_Category], int &g) ;
};
void sort (double a[],int n);
void Training(Category A, Category weight[N_Category], int &g) ;
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?