Implementation of neural network equation

2 次查看(过去 30 天)
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.

采纳的回答

Greg Heath
Greg Heath 2016-9-30
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 个评论
mohit deshmukh
mohit deshmukh 2017-4-12
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.

请先登录,再进行评论。

更多回答(0 个)

类别

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