how to decide target vector for following code?
Info
This question is closed. Reopen it to edit or answer.
Show older comments
featurevector is of size 3*20(extracted H,S,V values for 20 images)
t=ones(3,20); [x] = featureVector; net = patternnet(10); net = train(net,x,t); view(net) y = net(x); perf = perform(net,t,y); classes = vec2ind(y);
5 Comments
KSSV
on 13 Jul 2018
t is your target in the code.
jayamala pakhare
on 13 Jul 2018
KSSV
on 13 Jul 2018
All your targets are 1.....the way code called is correct but not the input.
jayamala pakhare
on 13 Jul 2018
jayamala pakhare
on 14 Jul 2018
Answers (0)
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!