how to decide target vector for following code?

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 comentarios

KSSV
KSSV el 13 de Jul. de 2018
t is your target in the code.
jayamala pakhare
jayamala pakhare el 13 de Jul. de 2018
is this the correct target vector and code written is correct?
KSSV
KSSV el 13 de Jul. de 2018
All your targets are 1.....the way code called is correct but not the input.
jayamala pakhare
jayamala pakhare el 13 de Jul. de 2018
which input is wrong ?whether feature vector or input to network ?
jayamala pakhare
jayamala pakhare el 14 de Jul. de 2018
thanks for ur response

Respuestas (0)

La pregunta está cerrada.

Preguntada:

el 12 de Jul. de 2018

Cerrada:

el 20 de Ag. de 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by