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.

3 次查看(过去 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
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
Dhandapani.S
Dhandapani.S 2016-9-13
Thank you very much Greg Heath. for the same code i was getting error. but today when i run the code, i get results. exciting. what might have happened?

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Sequence and Numeric Feature Data Workflows 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by