back.h

来自「GENETIC ALGORITHM FOR NEURAL NETWORKS ON」· C头文件 代码 · 共 39 行

H
39
字号
/* Declarations of backpropagation algorithm */#ifndef BACK_H#define BACK_H	1#include "defs.h"char *BackOptStr();char *BackUsage();char BackParamStr[256]; float NetErr;		/* residual Error */float LearnRate;	/* learn rate */float Impulse;		/* impulse constant */float InitWeight;	/* initial weight range *//* Arrays */float **Wih;	/* weight matrix input -> hidden */float **Who;	/* weight matrix hidden -> output */float *Hid;	/* hidden states */float *Out;	/* output states */float *BiasHid;	/* bias of hidden neurons */float *BiasOut;	/* bias of output neurons */float **Dih,**Dho;	/* Weight update (1st order) */float **DDih,**DDho;	/* Weight update (2nd order) *//* Procedures */int handleBackOpt(char opt,char* arg);int initBack();void randomNet(float w);float calcNetErr();void updateNet();void printnet();#endif

⌨️ 快捷键说明

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