正在加载图片...
Neural Networks Ch9, ver. 9b Answer(exercise: write values for A1(=4) Example:fP=[0.76560.73440.960909610.914109063 0.09770.09380.0859]% each is p=1,23.) W==[0.21120.1540-0.0687-002890.0720-0.1666 0.29380.016901127]% each is w(=1j=1,2,3, b=l=0. 1441 %or neuron i %Find Al(i=4) A1iis4=1/(1+eXp[(0)=1*P+b=1) 0.49 How many inputs, hidden neurons, outputs, weights and biases in each layer? Answer: Inputs=9, hidden neurons=5, outputs=3, weights in hidden layer(layer 1) =9] 5, neurons in output layer( layer 2 )=5x3, 5 biases in hidden layer layer1), 3 biases in output layer( layer 2) The 4th neuron in the hidden layer is Ali=4, A 1+c-bo(1=4)+(=2=4)B+、+hG=4Answer (exercise3: write values for A1(i=4) • Example: if P=[ 0.7656 0.7344 0.9609 0.9961 0.9141 0.9063 0.0977 0.0938 0.0859]%each is p(j=1,2,3..) • Wl=1=[ 0.2112 0.1540 -0.0687 -0.0289 0.0720 -0.1666 0.2938 -0.0169 -0.1127]%each is w(l=1,j=1,2,3,..) • b l=1= 0.1441 %for neuron i • %Find A1(i=4) • A1_i_is_4=1/(1+exp[-(l=1*P+b l=1))] • =0.49. • How many inputs, hidden neurons, outputs, weights and biases in each layer? • Answer: Inputs=9, hidden neurons=5, outputs=3, weights in hidden layer (layer1) =9x5, neurons in output layer (layer2)= 5x3, 5 biases in hidden layer (layer1), 3 biases in output layer (layer2) • The 4th neuron in the hidden layer is A1 (i=4) Neural Networks Ch9. , ver. 9b 27  ( 1, 4) ( 2, 4) ... b (j 4) 1 2 1 1 1 1 1 1 A ( 4) − = = + = = + + = = = + = = i j P i j P l l e j  
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有