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

📄 backprop.h

📁 足球机器人仿真组CMU97的源码
💻 H
字号:
#ifndef _BACKPROP_#define _BACKPROP_#define EPOCHS            3000#define SAVE_WGTS_FREQ    50#define DISPLAY_FREQ      10#define NN_n_inp 3#define DEFAULT_HIDDENS 4#define NN_n_out 1#define DEFAULT_ETA1 .000001#define DEFAULT_ETA2 .000001#define DEFAULT_GAMMA1 .999#define DEFAULT_GAMMA2 1#define ONLY_SAVES/*#define TRAIN_FILE      "results/RandomWait.dat"       /* Use "none" for no training    */#define TRAIN_FILE      "Data/Random.dat"       /* Use "none" for no training    */#define TEST_FILE       "none"            /* Use "none" for no test        */#define INITIALIZE_FILE "none"                /* none => random init           */#define TEST_WEIGHTS    "none"                /* none => test with trained wgts*/static float INP_BASES[]  =  {  7,  -7,   1,  -15};static float INP_RANGES[] =  {  7,  14,   1,   30};static float OUT_BASES[]  =  {0,   2,   0};   /* Don't scale for linear */static float OUT_RANGES[] =  {1,   3,   1};   /* output unit            */void  NN_initialize_to_use(char*);void  NN_use(float*);void  train(char*, int, int, char**);void  test(char*);#endif

⌨️ 快捷键说明

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