home *** CD-ROM | disk | FTP | other *** search
- subtitleTextBox. setText ("")
- mainTextBox. setText ("")
-
- activeOutputProbe. closeEngineWindow ( )
-
- inputFile. setFlashFileMode ( 1 )
- activeOutputProbe. setFlashFileMode ( 2 )
-
- activeBreadboard. setAnimatePoint ( 470 , 210 )
- activeBreadboard. stampAndMove ( "L2Criterion" , "criterion" )
- outputAxon. connectTo ( "criterion" )
- activeBreadboard. stampOnAndMove ( "BackStaticControl" , "control" )
- controlBackprop. setGradientClassName ( "Momentum" )
- controlBackprop. allocateBackpropPlane ( )
-
- activeBreadboard. select ( "hidden1SynapseBackpropGradient" , FALSE )
- activeBreadboard. select ( "hidden1AxonBackpropGradient" , TRUE )
- activeBreadboard. select ( "outputSynapseBackpropGradient" , TRUE )
- activeBreadboard. select ( "outputAxonBackpropGradient" , TRUE )
- activeSelection. setStepSize ( 0.300000 )
- activeSelection. setMomentumRate ( 0.700000 )
-
- activeBreadboard. stampOnAndMove ( "File" , "criterion" )
- file. setName ("desiredFile")
- desiredFile. setActiveAccessPoint ( "Desired Signal" )
- desiredFilePath = macro. pathFromMacro ( "xor.asc" )
- desiredFile. addFile ( desiredFilePath , FALSE )
- desiredFile. setUseDefaultTranslatorForActiveFile ( FALSE , FALSE )
- desiredFile. setActiveTranslatorName ( "ASCII - Column" , FALSE )
- desiredFile. beginCustomizeOfActiveFile ( )
- desiredFile. setSkipForActiveFile ( 0 , 0 )
- desiredFile. setSkipForActiveFile ( 1 , 1 )
- desiredFile. endCustomizeOfActiveFile ( FALSE )
- desiredFile. setNormalize ( FALSE )
- desiredFile. translate ( )
-
- activeOutputProbe. moveOn ( "criterion" )
- activeOutputProbe. setName ( "activeCostProbe" )
- activeCostProbe. setActiveAccessPoint ( "Average Cost" )
- activeCostProbe. setLabel ( "Cost" )
-
- activeBreadboard. lockWindowUpdate()
-
- activeBreadboard. select ( "viewSourceCode" , FALSE )
- viewSourceCode. moveTo ( 630 , 125 )
-
- activeBreadboard. runMacro ( CreateLargeButtonMacroPath )
- controlButton. setName ( "viewWeights" )
- viewWeights. setText ( "View weights" )
- viewWeights. moveTo ( 630 , 90 )
- ControlMacroPath = macro. pathFromMacro ( "viewWeights.nsm" )
- viewWeights. setMacroPath ( ControlMacroPath )
-
- activeBreadboard. unlockWindowUpdate()
-
- SourcePath = macro. pathFromMacro ( "xorTraining.cpp" )
- control. setCodeGenProjectPath ( SourcePath )
-
- ControlMacroPath = macro. pathFromMacro ( "viewSourceCode3.nsm" )
- viewSourceCode. setMacroPath ( ControlMacroPath )
-
- activeBreadboard. select ( NULL , FALSE )
-
- control. setEpochs ( 100 )
- control. setLearning ( FALSE )
-
- NextMacroPath = macro. pathFromMacro ( "Testing within NeuroSolutions.nsm" )
- nextButton. setMacroPath ( NextMacroPath )
- SubtitleIndex = subtitleTextBox. setTextFromFile (TextBoxPath, SubtitleIndex)
- MainIndex = mainTextBox. setTextFromFile (TextBoxPath, MainIndex)
-