Hi all,
a 2-layer nnet can be defined, but 3 layers produces an error. See example
below.
Any hints on what I missed?
The problem can be "fixed" by modifying line 110 of newff.m like this :
original: net.IW{2:nLayers,1} = [];
"fixed": net.IW{2:2,1} = [];
That is probably not the way it was intended.
THX
Stefan
--- script ---
RANGE =
-4 4
-4 4
-4 4
-4 4
# 2-layer is OK:
octave.exe:24> net = newff(RANGE , [3 1] , {"tansig" , "tansig"} ) ;
# 3-layers = Error
octave.exe:25> net = newff(RANGE , [3 3 1] , {"tansig" , "tansig" ,
"tansig"} ) ;
error: invalid assignment to cs-list outside multiple assignment.
error: assignment to cell array failed
error: assignment to structure element failed
error: assignment failed, or no method for `struct = null_matrix'
error: called from:
error: C:\octave\3.2.4_gcc-4.4.0\
share\octave\packages\nnet-0.1.10\newff.m at line 110, column 22
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev