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.

1 view (last 30 days)
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 Comments
Greg Heath
Greg Heath on 12 Sep 2016
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 on 13 Sep 2016
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?

Sign in to comment.

Answers (0)

Categories

Find more on Sequence and Numeric Feature Data Workflows in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!