Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Why do not Matlab split my inputs into 3 portions, although I've so set?

1 visualización (últimos 30 días)
Osama Tabbakh
Osama Tabbakh el 19 de Mzo. de 2019
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
I've trained a neural network, but the whole data is trained without test and validation. My input is 10000 (vector) and I have 60 of them. My output is 60 (vector) and I've also 60 of them.
p %% input
p = con2seq (p);
t %% target or output
t = con2seq (t);
net = newff(p,t,[2 2]);
net.divideParam.trainRatio=0.7;
net.divideParam.testRatio=0.15;
net.divideParam.valRatio=0.15;
net.trainParam.lr=0.01;
net.trainParam.min_grad=1e-20;
net.trainParam.goal=1e-30;
net.trainParam.epochs=200;
net = train(net,p,t);
Could someone help me?

Respuestas (0)

La pregunta está cerrada.

Productos


Versión

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by