manual calculation of NeuralNet predictions

darshi_plmdarshi_plm Member Posts: 3 Contributor I
edited November 2018 in Help


Can someone pls let me know how to calculate a prediction (continuous) from a set of input variables (continuous) using the weights and bias at hidden nodes (sigmoid) and the output node (linear)? This is to manually verify the results obtained from neuralnet.



Best Answer

  • Options
    darshi_plmdarshi_plm Member Posts: 3 Contributor I
    Solution Accepted

    Thanks a lot.
    I have used the NeuralNet output weights to calculate the sigmoid transformation of weighted sum of the inputs. The mistake I have made was calculating the output without realizing that NeuralNet has normalised the attributes to fall within -1 and 1. Now all sorted.


Sign In or Register to comment.