How to use the weight and bias matrix out side the nntool?

I have trained a feed-forward back propagation neural network using the nntool toolbox, however when I try to use the resulting weight and bias matrix to simulate the neural network outside the nntool toolbox, I do not have similar results from the ones generated by the tool.
I am using the functions as described in the Matlab documentation to simulate outside the tolbox: a = f(Wp + b)

 Accepted Answer

You forgot the default normalization of input and target to [-1,1] (mapminmax).
Either override that default or take it into account.
Hope this helps.
Thank you for formally accepting my answer.
Greg

More Answers (0)

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!