Professional Documents
Culture Documents
xbar = 135/5 = 27
ybar = 2020/5 = 404
y = m*x + b
y = 1.01786*x + 376.51
y for x = 35
y = 1.01786*35 + 376.51 = 412.14
Page 1 of 3
COMSATS University, Islamabad
Department of Computer Science
Second Sessional Examination Spring-2019
RMSE = (sum of (predicted – actual)2 / n )1/2
N = 10
P (yes) = 7/10
P (no) = 3/10
Page 2 of 3
COMSATS University, Islamabad
Department of Computer Science
Second Sessional Examination Spring-2019
----------------------------------------------------- CLO 3 --------------------------------------------------
Consider the following network architecture with learning rate 0.1 and having values as
I1 I2 W1 W2 W3 W4 W5 W6 out
2 3 0.11 0.21 0.12 0.08 0.14 0.15 1
W1
I1 h1
W5
W2
out
W3
W6
W4
I2 h2
Calculate the values and fill in the table using sigmoid as activation function. Also
perform error calculation and update only w5 using Back Propagation
Input for hidden Output for Input for output Updated weight
layer hidden layer(sigmoid) output layer
h1(in) h2(in) h1(out) h2(out) Out(in) Out(out) W/ 5
0,85 0,48
Page 3 of 3