SetTrainingSet

 

Accueil  Précédent  Suivant

 

 

 

C/C++ declaration

extern long __stdcall SetTrainingSet(long Handle, char * DataFileName, long FirstRow, long LastRow, char Sep);

 

Pascal declaration

Function SetTrainingSet(Handle: LongInt; DataFileName PChar; FirstRow, LastRow: LongInt; Sep: Char): LongInt; stdcall;

 

Training data definition.

 

IN                 DataFileName : ASCII formatted data file name.

IN                 FirstRow : First data line in the file (First line is quoted 1).

IN                 LastRow : Last data line in the file.

IN                 Sep : Data separator.

Return         0 si OK, -1 if invalid handle, 1 if model is not training capable

 

Remark : Getting memory for training data, and, if DataFileName is valid, data file definition.

In the file, data must be ordered by columns. First columns are inputs, then outputs. If a preprocessin function hve been defined with SteDataFunc, data will be pre-processed.

Data can then be loaded directly by using ModelActon with the style maLoadTrainingData.

The data can also be loaded line by line by using the function SetVector with the style _TrainingData.

 

 

CreateNewModel

LoadModelFromFile

Primitives


NETRAL Neuro Developer Kit version 7.0