For the neural network package. What is the equivalent command to 'getwb' for extracting the input offsets and gains in a net?

For the neural network package. What is the equivalent command to 'getwb' for extracting the input offsets and gains in a net?
I want to be able to extract x1_step1_xoffset, x1_step1_gain etc... from a matlab neural network. In the same way you can extract the weights and biases using getwb(net).

Respuestas (1)

1. I DON'T EVEN KNOW WHAT THOSE QUANTITIES ARE!
Please elucidate.
2. All properties of a net can be obtained using the uncommented command
net = net
Hope this helps
Thank you for formally accepting my answer
Greg

1 comentario

If you set
genFunction(net,'go')
then edit go.m these parameters appear just after the comment
% ===== NEURAL NETWORK CONSTANTS =====
I can't see them as a property of the net object.
These parameters are used to apply an affine map to rescale and center the input before being applied to the first layer. I need to know these weights in order to be able to extract what the hidden units are actually doing and would like to be able to get them with a line of code rather than having to call getfunction then copy and paste them by hand.

Iniciar sesión para comentar.

Categorías

Más información sobre Deep Learning Toolbox en Centro de ayuda y File Exchange.

Preguntada:

el 9 de Nov. de 2017

Comentada:

el 9 de Nov. de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by