git-svn-id: http://moon:8086/svn/software/trunk/libsrc/nn@1 b431acfa-c32f-4a4a-93f1-934dc6c82436
38 lines
702 B
C
Executable File
38 lines
702 B
C
Executable File
/**********************************************************************
|
|
* 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 */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|