differences between net = newff(P,T,S,TF,BTF,BLF,PF,IPF,OPF,DDF) and net = newff(PR,[S1 S2...SNl],{TF1 TF2...TFNl},BTF,BLF,PF) ?
6 次查看(过去 30 天)
显示 更早的评论
I thought there is no differences between them and just that in the first one we put target at first and in the second one we put size of layers at first, but i wrote a program and when i used this net = newff(P,T,S,TF,BTF,BLF,PF,IPF,OPF,DDF) my neural network stopped working due to "validation checks" at iteration 9 of 1000 epochs but when i used net = newff(PR,[S1 S2...SNl],{TF1 TF2...TFNl},BTF,BLF,PF) it reached to maximum epochs which i set on 1000.
what is wrong?
0 个评论
采纳的回答
Greg Heath
2014-11-23
I compared the two formats and obtained the exact same answer on version 2014a.
1. Did you run both nets using the same version? 2. Are you sure the random number generator is initialized to the same state so that the random data division and random initial weights are the same?
Hope this helps
*Thank you for formally accepting my answer.
Greg
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Deep Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!