How can I correctly classify inputs for a neuronal network?
Show older comments
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=[54x769]; %54 images TARGET=[4x54]; %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=[769x4]; 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
Accepted Answer
More Answers (0)
Categories
Find more on Deep Learning Toolbox 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!