i use matlab MATLAB Version: 8.0.0.783 (R2012b) License Number: 7XXXXX OS-win 7. i tried to use fitnet . i get the following error. help me in this reagard.
4 次查看(过去 30 天)
显示 更早的评论
Error using feval
Undefined function 'initlay' for input arguments of type 'struct'.
Error in nn_configure_bias (line 13)
net = feval(net.initFcn,'initialize',net,'b',i);
Error in network/subsasgn>setBiasConnect (line 771)
net = nn_configure_bias(net,i);
Error in network/subsasgn>network_subsasgn (line 59)
if isempty(err), [net,err]=setBiasConnect(net,biasConnect); end
Error in network/subsasgn (line 13)
net = network_subsasgn(net,subscripts,v,netname);
Error in feedforwardnet>create_network (line 104)
net.biasConnect = true(Nl,1);
Error in feedforwardnet (line 69)
net = create_network(param);
Error in fitnet>create_network (line 98)
net = feedforwardnet(param.hiddenSizes,param.trainFcn);
Error in fitnet (line 70)
net = create_network(param);
Error in cccmnet (line 2)
net=fitnet(10);
4 个评论
Greg Heath
2016-9-12
This code should run if input, target and sample have the appropriate dimensions.
Personal comments:
1. If you have to transpose your data, do it at the beginning of the code; preferably soon after it is read in.
2. It doesn't make sense to assign design parameters(e.g., divide ratios) that are defaults.
Hope this helps.
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!