Matlab Neural Network Structure -
i'm full newbie in neural networks. generated nn in matlab. further need know exact structure of nn, because need implement in java(static connections , weights, no learning). can explain how connect neurons , math operations perform in each element?
nn params next(taken matlab):
iw{1,1} - weight layer 1 intput 1
[2.8574 -1.9207; 1.7582 -1.2549; -4.5925 0.23236; 12.0861 12.3701; 2.503 -1.9321; -2.1422 2.6928]
lw{2,1} - weight layer
[-0.51977 5.3993 3.4349 5.2863 3.1976 -0.67102]
b{1} - bias layer 1
[-3.2811; -6.956; -3.0943; 11.1103; 0.14842; -3.3705]
b{2} - bias layer 2
[1.4657]
you have nn has 2 inputs, hidden layer of 6 neurons , output layer of 1 neuron.
each of neuron in each layer, take outputs previous 1 , multiply them number , offset result another.
the numbers show numbers mentioned.
for example, neuron 1 hidden layer output hidden1=2.8574*in1 -1.9207*in2-3.2811
. take whatever sigma function using , apply hidden1=sigma(hidden1)
.
as example, output out=-hidden1*0.51977+hidden2*5.3993+...-hidden6*0.67102+1.4657
Comments
Post a Comment