|
OptimizeInputs |
Accueil Précédent Suivant |
C/C++ declaration
long __stdcall OptimizeInputs(long Handle, long *Number, double *OutputTarget);
Pascal declaration
function OptimizeInputs(Handle: LongInt; var Number: LongInt; OutputTarget: PDouble): LongInt; stdcall;
Calcul inverse dans le réseau
IN → Handle : Optimizer handle.
IN/OUT → Number Epoch number
IN → OutputTarget Double table address de doubles with the target outputs.
Return → 0 if OK, else error code
The training algorithm can be fixed by calling SetIValue with the style "ipTrainingAlgorithm".
The computation mode can be fixed bt calling SetIValue with the style "ipReverseMode".
During the reverse computation, some of the inputs may be keep as constants. The fixed inputs may be fixed by calling the SetVector with the style "_BoolInputs" and along integer vector with everyting set to 0, except the fixed inputs.
Remark : an optimizer handle has been obtained with one of the functions : NewOptimizer or LoadOptimizer. For such a handle, variables are the model inputs, and the model dimension is the number of inputs.