home *** CD-ROM | disk | FTP | other *** search
-
- //
- // file: demo1trn.rsp
- // desc: demo1 training response file
- // by: patrick ko shu pui
- // date: 27 apr 1992
- //
- // comments:
- //
- // This resp file is used to train a 1 hidden layer neural net to
- // learn an XOR function. The NN has a 2-unit input, a 1-unit
- // output, and a 2-unit hidden layer.
- //
- // The result file is contained in demo1.out where you may view
- // the output. If you output is close to 1 you may interpret it as
- // a 1, and 0 if it is close to 0.
- //
-
- // 2 input units
- -i=2
-
- // 1 output units
- -o=1
-
- // 1 hidden layer
- -hh=1
-
- // 1st hidden layer = 2 units
- -h=2
-
- // use demo1.trn as training file
- -ftrain=demo1.trn
-
- // and there are 4 training patterns
- -samp=4
-
- // report training status every 10 cycles
- -r=10
-
- // time the training process
- -t
-
- // initialize the random weight at the range of (-0.5 to +0.5)
- -w+=1.5
- -w-=0.5
-
- // mean square per unit err = 0.001
- -err = 0.001
-
- // tolerance = 0.01
- -torerr=0.01
-
- //
- // the above response file is equivalent to the following command line
- //
- // bptrain -i=2 -o=1 -hh=1 -h=2 -ftrain=demo1.trn -samp=4 -r=10 -t -w+=0.5 -w-=-0.5
- // -torerr=0.01
- //
-