Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Incorrect incrementation
Message
De
06/04/2005 19:40:54
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Incorrect incrementation
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01002124
Message ID:
01002124
Vues:
60
The following code
Local OutputCounter, Start, Finish
Start =  NodeCount * 2 + 1
Finish = NodeCount * 3
OutputCounter = 0
For ActivationCreator = Start To Finish

OutPutCounter = OutPutCounter + 1

CodeLine = [W] + Transform(ActivationCreator) + [_] +Transform(ActivationCreator ;
OutputCounter) + [ =  W] + Transform(ActivationCreator) + [_] + Transform(ActivationCreator + ;
OutputCounter) + [ + LearningRate * Node] + Transform(ActivationCreator + OutputCounter) + ;
[Error * Node] + Transform(ActivationCreator) + [Activation]

Fputs(lnHandle,CodeLine)
Next ActivationCreator
Produces this result (NOTE that three of the columns increment by 2. It should be 1, but I have not been able to see why. Can you?
W75_76 =  W75_76 + LearningRate * Node76Error * Node75Activation
W76_78 =  W76_78 + LearningRate * Node78Error * Node76Activation
W77_80 =  W77_80 + LearningRate * Node80Error * Node77Activation
W78_82 =  W78_82 + LearningRate * Node82Error * Node78Activation
W79_84 =  W79_84 + LearningRate * Node84Error * Node79Activation
W80_86 =  W80_86 + LearningRate * Node86Error * Node80Activation
W81_88 =  W81_88 + LearningRate * Node88Error * Node81Activation
W82_90 =  W82_90 + LearningRate * Node90Error * Node82Activation
W83_92 =  W83_92 + LearningRate * Node92Error * Node83Activation
W84_94 =  W84_94 + LearningRate * Node94Error * Node84Activation
W85_96 =  W85_96 + LearningRate * Node96Error * Node85Activation
W86_98 =  W86_98 + LearningRate * Node98Error * Node86Activation
W87_100 =  W87_100 + LearningRate * Node100Error * Node87Activation
W88_102 =  W88_102 + LearningRate * Node102Error * Node88Activation
W89_104 =  W89_104 + LearningRate * Node104Error * Node89Activation
W90_106 =  W90_106 + LearningRate * Node106Error * Node90Activation
W91_108 =  W91_108 + LearningRate * Node108Error * Node91Activation
W92_110 =  W92_110 + LearningRate * Node110Error * Node92Activation
W93_112 =  W93_112 + LearningRate * Node112Error * Node93Activation
W94_114 =  W94_114 + LearningRate * Node114Error * Node94Activation
W95_116 =  W95_116 + LearningRate * Node116Error * Node95Activation
W96_118 =  W96_118 + LearningRate * Node118Error * Node96Activation
W97_120 =  W97_120 + LearningRate * Node120Error * Node97Activation
W98_122 =  W98_122 + LearningRate * Node122Error * Node98Activation
W99_124 =  W99_124 + LearningRate * Node124Error * Node99Activation
W100_126 =  W100_126 + LearningRate * Node126Error * Node100Activation
W101_128 =  W101_128 + LearningRate * Node128Error * Node101Activation
W102_130 =  W102_130 + LearningRate * Node130Error * Node102Activation
W103_132 =  W103_132 + LearningRate * Node132Error * Node103Activation
W104_134 =  W104_134 + LearningRate * Node134Error * Node104Activation
W105_136 =  W105_136 + LearningRate * Node136Error * Node105Activation
W106_138 =  W106_138 + LearningRate * Node138Error * Node106Activation
W107_140 =  W107_140 + LearningRate * Node140Error * Node107Activation
W108_142 =  W108_142 + LearningRate * Node142Error * Node108Activation
W109_144 =  W109_144 + LearningRate * Node144Error * Node109Activation
W110_146 =  W110_146 + LearningRate * Node146Error * Node110Activation
W111_148 =  W111_148 + LearningRate * Node148Error * Node111Activation
I ain't skeert of nuttin eh?
Yikes! What was that?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform