how i can save the output of hidden layer of neural network
Mostrar comentarios más antiguos
after i complete my program,i want to save the output,weight and bias of hidden layer of neural network, can any one help me to do this? thanks
Respuesta aceptada
Más respuestas (1)
Greg Heath
el 13 de Abr. de 2013
Editada: Greg Heath
el 13 de Abr. de 2013
clear all, clc
[ x, t ] = simplefit_dataset;
net0 = fitnet( 10 );
[ net0 tr0 y0 ] = train( net0, x, t);
whos
%You can save the output and net
save y0 net0
%Delete them
clear y0 net0
whos
%and retrieve them
load y0 net0
whos
%or save, delete and and retrieve the weights
W0 = getwb(net0)
save y0 W0
whos
clear y0 W0
whos
load y0 W0
whos
Hope this helps.
Thank you for formally accepting my answer
Greg
2 comentarios
Ahmed almansory
el 13 de Abr. de 2013
manel
el 21 de Abr. de 2014
hi ; I have the same problem ; if you have solve it can you pleez say me what you have done. thanks in advance
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!