Matlab
hi
im trying to call competitive layer on kdd data set ,but im getting this :??? Error using ==> plot3 Conversion to double from cell is not possible. plot3(p(1,
,p(2,
,p(3,
,'+r');
hope some1 can solve for me...
clear all;
p=importdata('kdd train.txt');//this is the data base im calling
tar=[]; for i=0:size(p); tar=[tar;0 1]; end
net=newc(tar,5,0.1);
w = net.IW{1};
plot3(p(1,
,p(2,
,p(3,
,'+r');
grid on; hold on;
circles = plot3(w(:,1),w(:,2),w(:,3),'ob');
net.trainParam.epochs = 10;
net = train(net,p);
w = net.IW{1};
delete(circles);
plot3(w(:,1),w(:,2),w(:,3),'ob');
hi
im trying to call competitive layer on kdd data set ,but im getting this :??? Error using ==> plot3 Conversion to double from cell is not possible. plot3(p(1,
hope some1 can solve for me...
clear all;
p=importdata('kdd train.txt');//this is the data base im calling
tar=[]; for i=0:size(p); tar=[tar;0 1]; end
net=newc(tar,5,0.1);
w = net.IW{1};
plot3(p(1,
grid on; hold on;
circles = plot3(w(:,1),w(:,2),w(:,3),'ob');
net.trainParam.epochs = 10;
net = train(net,p);
w = net.IW{1};
delete(circles);
plot3(w(:,1),w(:,2),w(:,3),'ob');