What´s wrong with my neural network´s training?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Veronika
el 18 de Mzo. de 2015
Comentada: Veronika
el 27 de Mzo. de 2015
Dear all,
I have this code for training neural network (type newff) and MATLAB is almost all day busy, but nothing happens (no training newff). Does anyone know, where is the mistake?
load ('trenovaci_modely2_stredni')
D = [stredni_tvar{1,:}];
F = [stredni_tvar{2,:}];
net_stredni_MLP = newff(D,F,20);
net.trainparam.epochs = 100;
net = train(net_stredni_MLP,D,F);
D = stredni_tvar{1,7};
J = sim(net_stredni_MLP,D);
save net_stredni_MLP
disp('Neuronová síť byla uložena')
Thank you for your answers.
0 comentarios
Respuesta aceptada
Greg Heath
el 19 de Mzo. de 2015
net2 = train(net1,...);
Now there are 2 nets one trained and one untrained. Which do you think is untrained?
*Thank you for formally accepting this answer*
Greg
4 comentarios
Más respuestas (2)
Greg Heath
el 26 de Mzo. de 2015
load('nntoolMLP.mat')
whos
% Name Size Bytes Class
%
% D 1x1 1776 cell
% F 1x1 616560 cell
% J 1x1 2160 cell
% stredni_tvar 2x301 1184736 cell
d = cell2mat(D);
f = cell2mat(F);
j = cell2mat(J);
s = cell2mat(stredni_tvar);
whos
Name Size Bytes Class
D 1x1 1776 cell
F 1x1 616560 cell
J 1x1 2160 cell
stredni_tvar 2x301 1184736 cell
d 208x1 1664 double
f 256x301 616448 double
j 256x1 2048 double
s 464x301 1117312 double
Your dimensions are not compatible.
Start by converting to doubles
Then fix the dimensions.
Ver también
Categorías
Más información sobre Sequence and Numeric Feature Data Workflows en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!