?? defines.h
字號:
#ifndef DEFINES_H
#define DEFINES_H
//-----------------------------------------------
// used in main
//-----------------------------------------------
#define WINDOW_WIDTH 400
#define WINDOW_HEIGHT 400
//define a custom msg we can use to send to the windproc
//to train the network
#define UM_TRAIN (WM_USER + 0)
//-----------------------------------------------
// used in CData/CMouse
//-----------------------------------------------
//total number of built in patterns
#define NUM_PATTERNS 11
//how much the input data is perturbed by to make
//additional training sets
#define MAX_NOISE_TO_ADD 0.1
//how many vectors each pattern contains
#define NUM_VECTORS 12
//output has to be above this value for the program
//to agree on a pattern. Below this value and it
//will try to guess the pattern
#define MATCH_TOLERANCE 0.98
//-----------------------------------------------
// used in CNeuralNet
//-----------------------------------------------
#define ACTIVATION_RESPONSE 1.0
#define BIAS -1
//the learning rate for the backprop.
#define LEARNING_RATE 2
//when the total error is below this value the
//backprop stops training
#define ERROR_THRESHOLD 0.05
#define NUM_HIDDEN_NEURONS 6
#define MOMENTUM 0.9
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -