Problem#1 The following neural network is described in the class notes. x₁ -0.1 O x₂ = 0.2 Activation Function 1. Sigmoid 2. Linear 3. Tanh 4. ReLu W₁ -0.15 a₁ 0.588 ? ? ? W₂ = 0.05 b₁ = 0.33 %1 a₂ = f(z₁) = A₂ = = f(Z₂) Z₁ = (x₁W₁) + (x₂ =W₂) + b₂ Z₁ (0.10.15) + (0.2-0.05) + 0.33 Z₂ = (a₂ Z₂ = (0.588 az 0.684 ? ? ? a₁ Z₁ = 0.355 1 1+ e-(0.355) W₂) + b₂ 0.36) +0.56 W₂0.36 0.772= ܕܐ 1 1+ e-(0.772) b₂-0.56 = 0.588 = 0.684 %2 For the neural network described above, compute the value of the outputs (a, and a₂) if we change the sigmoid activation to the following 3 functions. Write TensorFlow code to compute your answer. Activation Function 1 a₁ 1+e-²₁ 1 1+e-²₂ a₂ =
Problem#1 The following neural network is described in the class notes. x₁ -0.1 O x₂ = 0.2 Activation Function 1. Sigmoid 2. Linear 3. Tanh 4. ReLu W₁ -0.15 a₁ 0.588 ? ? ? W₂ = 0.05 b₁ = 0.33 %1 a₂ = f(z₁) = A₂ = = f(Z₂) Z₁ = (x₁W₁) + (x₂ =W₂) + b₂ Z₁ (0.10.15) + (0.2-0.05) + 0.33 Z₂ = (a₂ Z₂ = (0.588 az 0.684 ? ? ? a₁ Z₁ = 0.355 1 1+ e-(0.355) W₂) + b₂ 0.36) +0.56 W₂0.36 0.772= ܕܐ 1 1+ e-(0.772) b₂-0.56 = 0.588 = 0.684 %2 For the neural network described above, compute the value of the outputs (a, and a₂) if we change the sigmoid activation to the following 3 functions. Write TensorFlow code to compute your answer. Activation Function 1 a₁ 1+e-²₁ 1 1+e-²₂ a₂ =
Related questions
Question
Please help step by step with explanation for tensorflow code with final code for understanding. Thank you

Transcribed Image Text:Problem#1
The following neural network is described in the class notes.
₁0.1
O
x₂ = 0.2
Activation a₁
Function
1. Sigmoid
2. Linear
3. Tanh
4. ReLu
W1 0.15
0.588
?
?
?
-
W₂ = 0.05
b₁ = 0.33
a₁ = f(²₁) =
%1
a₂ = f(Z₂)
Z₁ = (x₁ W₁) + (x₂ * W₂) + b₂
Z₁ (0.1 0.15) + (0.2 0.05) + 0.33
*
Z₁ = 0.355
1
Z₂ = (a₂
Z₂ = (0.588
az
0.684
?
?
?
a₁
1+ e-(0.355)
M
W₂0.36
Z₂ = 0.772
1
1+ e-(0.772)
= 0.588
W₂) + b₂
0.36) + 0.56
b₂ - 0.56
0.684
1
az
For the neural network described above, compute the value of the outputs (a, and a₂) if we change the
sigmoid activation to the following 3 functions. Write TensorFlow code to compute your answer.
Activation Function
1
a₁ =
1+e-²₁
1
1+e-²₂
02
=

Transcribed Image Text:Answer:
Activation
Function
1. Sigmoid
2. Linear
3. Tanh
4. ReLu
a1
0.588
0.355
0.341
0.355
az
0.684
0.688
0.593
0.688
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 5 steps with 2 images
