Implementation of neural network equation

I am getting different output for neural network : O=purelin(W2*logsig(W1i*Xi+B1)+B2) when i implement in matlab and when i do it mathamatically in excel sheet. How to implement the equations of neural netwok. Actually I want to use this equation without using matlab once network is trained and tested.

 Akzeptierte Antwort

Greg Heath
Greg Heath am 30 Sep. 2016

0 Stimmen

The N I-dimensional "I"nputs are normalized from x to xn The N O-dimensional "O"utput targets are normalized from t to tn
The O-dimensional NORMALIZED targets are obtained from
yn = B2 + LW*logsig( B1 + IW * xn );
The final O-dimensional unnormalized outputs, y, are obtained from yn via the inverse tsetting of the original t to tn normalization of the target.
Hope this helps.
Thank you for formally accepting my answer
Greg

1 Kommentar

mohit deshmukh
mohit deshmukh am 12 Apr. 2017
How can I get the preprocessing setting of the trained neural network. As I have tried the way it is explained above but still the answer is deviating. I normalised manually.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Deep Learning Toolbox finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by