Initial import
git-svn-id: http://moon:8086/svn/software/trunk/libsrc/nn@1 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
/**********************************************************************
|
||||
* netfile.h
|
||||
*
|
||||
* (C) 2000 J. Ahrensfeld
|
||||
*
|
||||
**********************************************************************/
|
||||
|
||||
#ifndef NNFILE_H
|
||||
#define NNFILE_H
|
||||
|
||||
#include "nntypes.h"
|
||||
|
||||
typedef struct _sLayerInfo
|
||||
{
|
||||
int nNeurons, NeuronType;
|
||||
} LayerInfo;
|
||||
|
||||
typedef struct _sNETFILE
|
||||
{
|
||||
UINT32 nInputs, nOutputs, nHiddenNeurons, nHiddenLayers, nTrainingSets, OutType;
|
||||
UINT32 MaxEpochs, reportUpd, maxPatterns, nntype;
|
||||
LayerInfo LInfo[64];
|
||||
double *pInput;
|
||||
double *pTarget;
|
||||
double LearningRate, Momentum, ErrorThreshold, initwrange;
|
||||
} NETFILE;
|
||||
|
||||
int ReadNetFile(char* szFileName, NETFILE *NInfo);
|
||||
|
||||
#endif /* NNFILE_H */
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user