NeuralNet(API)

提供: Eospedia
2014年5月20日 (火) 07:45時点におけるKinoshita (トーク | 投稿記録)による版

(差分) ←前の版 | 最新版 (差分) | 次の版→ (差分)
移動: 案内検索

General/AI/src/NeuralNetはAPI です。

定数

構造体

typedef struct NeuralNetInfo {
	int  numOfLayer;
	int* numOfCellOfLayer; 
	int  numOfSeparation;
	int  numOfPositive;
	int  numOfNegative;
	int* bias;
	double Lambda;
} NeuralNetInfo;

API

extern void neuralNetOutputLayerCalculation(double** cell, double*** weight, NeuralNetInfo* linfo, int mode);
extern double neuralNetSigmoidalFunction(double cell);
extern void neuralNetRandomToWeight(double*** weight , NeuralNetInfo* linfo);
extern void neuralNetBackPropagation(double** cell, double*** weight, double Teacher, NeuralNetInfo* linfo, int mode);