problems with training function LVQ (example from help does not work)
Mostrar comentarios más antiguos
Hi all, please I need your help !
example (LVQ) from help does not work
P = [-3 -2 -2 0 0 0 0 2 2 3; 0 1 -1 2 1 -1 -2 1 -1 0];
Tc = [1 1 1 2 2 2 2 1 1 1];
T = ind2vec(Tc);
targets = full(T);
net = newlvq(P,4,[.6 .4]);
Y = sim(net,P);
Yc = vec2ind(Y);
net.trainParam.epochs = 150;
net = train(net,P,T);
In training process after 2 interactions training was stop. (My system 2011a,a check on 2009b - the same thing).
Maybe I'm doing something wrong?
Respuesta aceptada
Más respuestas (1)
Greg Heath
el 2 de Oct. de 2011
0 votos
Sorry for the formatting. This text editor sucks.
Greg
1 comentario
Walter Roberson
el 2 de Oct. de 2011
Put a newline before the code to be formatted. Highlight the code to be formatted. Click on the "{} Code" button. Code will now be formatted in the preview.
Categorías
Más información sobre Deep Learning Toolbox en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!