Clear Filters
Clear Filters

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

2 views (last 30 days)
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.

Answers (1)

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

Categories

Find more on Sequence and Numeric Feature Data Workflows in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!