I have developed a Neural Network (NN) using MATLAB NN Toolbox, the network has 1 input layer with 4neurons, 1 hidden layer with 3 neurons and 1 output layer with 1 neuron. After training, the obtained weight and bias values are as following;
Weights from Input layer to hidden layer
wi1 = -3.7673, wi2 = -6.7425, wi3 = -0.46492, wi4 = -3.838
Weights from hidden layer to output layer
WH1 = 0.50698]
Bias from Input layer to hidden layer
bi1 = 4.3226
Bias from hidden layer to output layer
BH1 = -1.0275
Based on these weight and bias values, I predicted a value using sample inputs and obtained a value of "-0.911" using the equation;
Output = tansig(WH1 * tansig((wi1*Input1)+ (wi2*Input2)+ (wi3*Input3)+ (wi4*Input4)+ bi1) + BH1)
But on the other hand when I predicted the same value using same inputs through the "Simulate" function in Matlab NN, the output value is "3.092", which seems to be more closer to the actual value of 2.2.
Why the manually predicted value is different than the value Simulated using NN Toolbox?
Can I know what equation structure, the Matlab NN Toolbox uses at the backend for calculation of the output (Simulated) value? How I should write an output equation to estimate a value?