#!/bin/csh -f #cshg for the XOR problem # source /usr/ccrma/package/planet/RunNet # Definitions of paths for the file locations # ---------------------------------------- set NET = n.gabeXOR set GEN = pat/gengX set WTS = wts/hidden set SCR = src/screengX set OUT = out/gengX # The interface with Planet part # -------------------------------- # run the net for 3 hidden units foreach Nhid(3) # read the number of units for each layer and call in the net file # The number of units defined as follow: # 2 units for the input, 1 for the out, 3 for the hidden (why not?) network Nin=2 Nout=1 Nhid=$Nhid $NET read $WTS.$Nhid step 50 screen $SCR pattern $GEN cycle 1 Test > $OUT.$Nhid end quit