testing, validating and training a feedforwardnet
19 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Abdulaziz Almershed
el 1 de Dic. de 2020
Respondida: Rishik Ramena
el 7 de Dic. de 2020
Greetings;
How does the function 'train' test the model and validate it ? because i have just put inputs and did not seperate them into testing and training data
0 comentarios
Respuesta aceptada
Rishik Ramena
el 7 de Dic. de 2020
You can add the split ratios manually to the network's divideParams. Here's a snippet showing the same.
[x,t] = simplefit_dataset;
net = feedforwardnet(10);
net.divideParam.trainRatio = 70/100;
net.divideParam.valRatio = 15/100;
net.divideParam.testRatio = 15/100;
[net,tr] = train(net,x,t);
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Deep Learning Toolbox en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!