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

📄 constants.h

📁 fuzzy k-means algorithm for cluster
💻 H
字号:
#ifndef CONSTANTS_H
#define CONSTANTS_H



const int constWindowWidth       = 400;
const int constWindowHeight      = 400;

const int constNumCellsAcross    = 40;
const int constNumCellsDown      = 40;


//number of weights each node must contain. One for each element of 
//the input vector. In this example it is 3 because a color is
//represented by its red, green and blue components. (RGB)
const int     constSizeOfInputVector   = 3;

//the number of epochs desired for the training
const int    constNumIterations       = 1000;

//the value of the learning rate at the start of training
const double constStartLearningRate   = 0.1;

/*   uncomment the following if you'd like the SOM to classify randomly created training sets  */

//#define RANDOM_TRAINING_SETS

#ifdef RANDOM_TRAINING_SETS

const int    constMaxNumTrainingSets  = 20;
const int    constMinNumTrainingSets  = 5;

#endif

#endif

⌨️ 快捷键说明

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