what calculation does neural network sim function do?
Mostrar comentarios más antiguos
Hi, I am trying to make manually the same calculation that neural network sim function does.I am using two layer neural network(input neurons+layer neurons). I need to do this because i need to gain some time. Here is how i call this function :
load('myperformance','net','ps','ts');
x=value;
W=net.IW{1};
Z=net.LW{2};
b1=net.b{1};
b2=net.b{2};
%calculation the equivalent of sim function
x_norm = mapstd('apply',x,ps);
s=Z*(W*x_norm+b1)+b2;
y = mapstd('reverse',s,ts)
but the problem is that i don't get the same result as the sim function.
Am I missing something? thank you, Ismail
Respuesta aceptada
Más respuestas (1)
Ismail
el 11 de Abr. de 2014
1 voto
1 comentario
Greg Heath
el 22 de Abr. de 2014
mapminmax, not mapstd, is the default
Categorías
Más información sobre Deep Learning Toolbox en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!