I am having problems with my neuronal network. I have trained a radial basis function network for classification, But I can't make the network work when I enter a new value for a simulation. This is my code:
entrenar=[54×769]; %54 images TARGET=[4×54]; %4 targets
net=newrb(entrenar',TARGET, 0.009, 4); [net,pr]=traingd(net, entrenar', TARGET); y=net(entrenar');
Till now, everything is fine. The problem comes when I want to classify a new image. I have tried with 4 new images:
d=[769×4]; y2=sim(net,d);
the result it's the same for the 4 images. I've tried with more inputs for sim(), also using mean squared error goal 0. How can I fix it? please anybody help me
Best Answer