rbnn functions works with the small data set but the one i want to use doesnot work at all. the simulation is too slow and i have to resatart my matlab again. need help what should i do
Show older comments
%reading train and test data from seperate text files containing integers
P=train(:,1:7); %13000*8
T=train(:,8); % 13000*1
a=test(:,1:7); %5545*7
s=test(:,8); %5545*1
[pn,minp,maxp,tn,mint,maxt]=premnmx(P',T');
[an,mina,maxa,sn,mins,maxs]=premnmx(a',s');
net = newrb(pn,tn)
t = sim(net,an);
X=postmnmx(t',mins,maxs)
error = X - s;
[s X];
%subplot(1,2,1)
plot(1:length(a),s,'.-r',1:length(a),X,'.-b')
% subplot(1,2,2)
% plot(error)
Problem 2: When I use newgrnn it works fine although with huge errors. how to add more hidden layer in newgrnn. if there is an inbuild command for it will be very helpful so far i found out that the matlab grnn network has only 1 default hidden layer. Thanks
Accepted Answer
More Answers (0)
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!