How can I see 'offset' and 'gain' values at neural network fitting tool?

5 次查看(过去 30 天)
I first tried to calculate directly from the input data with weights. (it's 60-10-10-3 networks)
I use this code.
y1=tansig(IW{1,1}*input+b{1,1})
y2=tansig(LW{2,1}*y1+b{2,1})
result=LW{3,2}*y2+b{3,1}
But the result was wrong.
Later, I found that offset and gain values existed in the input and output data. But I do not know where the offset and gain values are.
How can I found these "offset values" and "gain values"? and how should I use these values.
I want to use this learned neural network to adapt program what we are developing.

回答(1 个)

Sara
Sara 2019-7-8
Hi
You can get it from getFunction(network) then check the netural constrant section in the m-file

类别

Help CenterFile Exchange 中查找有关 Sequence and Numeric Feature Data Workflows 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by