Dear SNNS-users, the following learining functions do not work as desrcibed in the user manual: cascade correlation, recurrent cascade correlation, backprop through time, batch backprop through time, quickprop through time. This is due to changes in the names of the learning- and update-functions. Here is a patch to change the corresponding names in the file kernel/sources/func_tbl.c before compiling the kernel. Using this patch, the mentioned functions will work as described. Copy the files patch1 and patch1.awk to the SNNSv3.0 installation directory and execute the shell-script patch1. After this, the installation can be started as usual. To patch an existing installation, execute the shell-script patch1 from the installation directory, build kernel, remove xgui/sources/xgui and build xgui. #--------------------------------------cut here----------------------------------------- #begin patch1.awk { if ((substr($0,3,18) == "CascadeCorrelation") && (substr($0,25,1) == "U")) printf("{%cCC_Order%c, UPDATE_FUNC, 0, 0, (FunctionPtr) UPDATE_CC_Propagate},\n",34,34); else if ((substr($0,3,18) == "CascadeCorrelation") && (substr($0,25,1) == "L")) printf("{%cCC%c, LEARN_FUNC, 5, 1, (FunctionPtr) LEARN_CasCor},\n",34,34); else if ((substr($0,3,18) == "RecCascCorrelation") && (substr($0,25,1) == "U")) printf("{%cRCC_Order%c, UPDATE_FUNC, 0, 0, (FunctionPtr) UPDATE_RCC_Propagate},\n",34,34); else if ((substr($0,3,18) == "RecCascCorrelation") && (substr($0,25,1) == "L")) printf("{%cRCC%c, LEARN_FUNC, 5, 1, (FunctionPtr) LEARN_RecCasCor},\n",34,34); else if (substr($0,3,19) == "BackpropThroughTime") printf("{%cBPTT_Order%c, UPDATE_FUNC, 0, 0, (FunctionPtr) UPDATE_BPTT},\n",34,34); else if (substr($0,3,13) == "BPThroughTime") printf("{%cBPTT%c, LEARN_FUNC, 3, 1, (FunctionPtr) LEARN_BPTT},\n",34,34); else if (substr($0,3,18) == "BatchBPThroughTime") printf("{%cBBPTT%c, LEARN_FUNC, 3, 1, (FunctionPtr) LEARN_BBPTT},\n",34,34); else if (substr($0,3,19) == "QuickpropTroughTime") printf("{%cQPTT%c, LEARN_FUNC, 4, 1, (FunctionPtr) LEARN_QPTT},\n",34,34); else print $0 } #end patch1.awk #--------------------------------------cut here----------------------------------------- #begin patch1 #!/bin/csh #**************************************************************************** # AUTHOR : Martin Reczko, Reczko@dkfz-heidelberg.de # DATE : 12/4/93 # # Patch for wrong update- and learning-function names in func_tbl.c # The following function names cause conflicts with net-examples, error checks, # user-manual and duplicated function names (in (recurrent) cascade correlation) # # Old (in SNNSv3.0) -> New (in SNNSv3.0p1) # # CascadeCorrelation (Update) -> CC_Order # CascadeCorrelation (Learn) -> CC # RecCascCorrelation (Update) -> RCC_Order # RecCascCorrelation (Learn) -> RCC # BackpropThroughTime -> BPTT_Order # BPThroughTime -> BPTT # BatchBPThroughTime -> BBPTT # QuickpropTroughTime -> QPTT # #**************************************************************************** awk -f patch1.awk kernel/sources/func_tbl.c >! tmp.c /bin/rm kernel/sources/func_tbl.c mv tmp.c kernel/sources/func_tbl.c #end patch1