MATLAB: Sensitivity analysis, multilayer, feed-forward, back-propagation neural network using MATLAB.

Deep Learning Toolboxneural networkpredictsensitivity analysis

How can I carry out a sensitivity analysis, that is, the effect of input parameters on the output of a multilayer, feed-forward, back-propagation neural network using MATLAB. What is the code for this, or is there any inbuilt function to carry out ?

Best Answer

For a simple MIMO MLP, the I/O relationship is
[ I N ] = size(x);
[ O N ] = size(y);
y = b2 + LW*tanh(b1+IW*x);
Just take gradients with respect to whatever parameter component you are interested in.
Hope this helps.
Thank you for formally accepting my answer
Greg