|
TCallBackFct |
Accueil Précédent Suivant |
Callback function for the time consuming procedures.
C / C++ declaration
typedef long __stdcall (*TCallBackFct)(long param1, long param2, double param3, long style);
Pascal declaration
TCallBackFct = function (param1, param2: LongInt; param3: Double; style: LongInt): LongInt; stdcall;
The available calling style are :
cbk_None 0
cbk_TrainNumber 1
cbk_TrainProgress 2
cbk_TrainEnd 3
cbk_InitParam 4
cbk_StartCycle 5
cbk_EndCycle 6
cbk_Transfer 7
cbk_Bootstrap 8
The messages send by the system are the followings :
param1 |
param2 |
param3 |
style |
Quand |
0 |
0 |
0 |
cbk_InitParam |
Parameter initialization |
NAppr |
Epoch |
Cost |
cbk_Bootstrap |
After each bootstrap |
Nombre |
FinAppr |
Cost |
cbk_TrainEnd |
At the end of training |
0 |
NCompute |
0 |
cbk_StartCycle |
Multi training cycle beginning |
i |
NCompute |
Sortie[0] |
cbk_Transfer |
After a transfer in MultiTransfer |
i |
NCompute |
NAN |
cbk_Transfer |
After a transfer if there is a NAN in the inputs |
NCompute |
NCompute |
0 |
cbk_EndCycle |
At the end of a multitransfer |
0 |
Count |
CoutCourant |
cbk_TrainProgress |
Training start |
i |
Count |
CoutCourant |
cbk_TrainProgress |
After each trainng cycle |