After test the input in Neural Network with sim command, how to get the original scale without using real outputs?

1 view (last 30 days)
Training has been done already, and "net" exists for testing of Neural Network. Given an inputs_test matrix, I scale the inputs_test matrix such a way that "sim" accepts it for testing process as follows.
[transf_inputs,transf_coff] = mapstd(inputs_test); Y = sim(net,transf_inputs);
And now, I want to scale Y back to original format what I have at the beginning. I can do it as follows.
[transf_targets,transf_coff2]= mapstd(outputs); y=mapstd('reverse',Y,transform_coff2);
However, this process requires me to have real outputs matrix instead Y (NN predicted values). I tried transf_coff reverse format process variable (which was obtained before the "sim" command), but matrix dimensions are different for inputs and outputs. In old functions (prestd/poststd and premnmx/postmnmx), it let you do this thing. Is there any way in which I can scale Y back to original format without having real outputs matrix ? Thanks for answers

Answers (1)

Sertan Kaya
Sertan Kaya on 25 Apr 2011
Thanks for not responding though !
Not scaling input and target vectors solved my problem.
  2 Comments
Walter Roberson
Walter Roberson on 25 Apr 2011
Relatively few of the people who volunteer to answer questions here have experience with Neural Nets. You also happened to post on a holiday weekend in many parts of the world.
I know that I do not have NN experience, and I do not have the appropriate toolbox to test things out with. I do not have the knowledge such that the question might have been meaningful enough for me such that I might have hunted through the documentation.
Sometimes lack of a response just means that none of the volunteers who happens to know the answer happened to read the question. If you have urgent questions, then it is better to call Mathworks Technical Support.

Sign in to comment.

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!