Alguien me puede decir que diablos falla en esta red neuronal. no puedo encontrar el problema. no me devulve los valores de e1min, e1max, e2min, e2max, t1min, t1max ni quiere plotear el segundo ni el tercer gráfico.
Wath is the problem in this neural network?, I'm not find the problem, no return e1min, e1max, e2min, e2max, t1min, t1max value and no plot "red".
fuck.
load('C:\datos_lab3.mat')
t=1:2000;
plot(t, e1, t, e2, t, t1);
legend ('Entrada 1', 'Entrada 2', 'Target', 0);pause;
for i=1:2000
if e1(i)<=0
if e1(i)<0;
end
if e2(i)<= 0
e2(i)=0;
end
if t1(i) <0
t1(i)=0;
end;
end;
e1min=min(e1);
e1max=max(e1);
e2min=min(e2);
e2max=max(e2);
t1min=min(t1);
t1max=max(t1);
e1ent = e1(1:1400);
e1val = e1(1401:2000);
e2ent = e2(1:1400);
e2val = e2(1401:2000);
t1ent = t1(1:1400);
t1val = t1(1401:2000);
Ne=2;
Ns=1;
Nc=34;
Nw=e1ent/10;
Nw=(2+1)*Nc+(Nc+1)*1;
red=newff([e1min e1max; e2min e2max],[341], {'tansig''purelin'}, 'trainlm''learngd', 'mse'); pause;
red;
y=sim(red, [e1val; e2val]);
plot(1:1600, y'r'; 1:1600, t1val'b'); pause;
red=train(red,[e1ent, e2ent],t1ent); pause;
plot(1:1600, y'r', 1:1600, t1val'b'); pause;
antoo - 26-12-2007 1:08:42
hola cumpa ivi qe tenias unas cbr 250 por siacaso no al tienes ala venta saludosagregame
[email protected]