Azzera filtri
Azzera filtri

Implementation of neural network equation

2 visualizzazioni (ultimi 30 giorni)
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.

Risposta accettata

Greg Heath
Greg Heath il 30 Set 2016
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 Commento
mohit deshmukh
mohit deshmukh il 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.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Deep Learning Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by