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

조회 수: 9 (최근 30일)
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

답변 (1개)

Sertan Kaya
Sertan Kaya 2011년 4월 25일
Thanks for not responding though !
Not scaling input and target vectors solved my problem.
  댓글 수: 2
Walter Roberson
Walter Roberson 2011년 4월 25일
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.
Sertan Kaya
Sertan Kaya 2011년 4월 29일
Thanks for the clarification though :) Appreciated for your time

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by