The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Neural network
Replies: 1   Last Post: Mar 9, 2013 2:39 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Murugan Solaiyappan

Posts: 53
Registered: 12/4/10
Neural network
Posted: Mar 7, 2013 7:52 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Dear Matlab friends,

I am trying to work with the following code (availabe in matlab help) in neural network ,

load house_dataset;
net = newff(houseInputs,houseTargets,20);

It works perfectly, the same code modified as follows for my data set,

load st_inputs.dat;
load st_targets.dat;

net = newfit(inputs,targets,20);

it produce the following error

??? Error using ==> plus
Matrix dimensions must agree.

Error in ==> calcperf2 at 163
N{i,ts} = N{i,ts} + Z{k};

Error in ==> trainlm at 253
[perf,El,trainV.Y,Ac,N,Zb,Zi,Zl] =

Error in ==> network.train at 216
[net,tr] = feval(net.trainFcn,net,tr,trainV,valV,testV);

Error in ==> netfit_stock at 10

and also i am using newff instead of newfit. This line also produce the same error.
I can't understand this error.
Please help me.

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.