The neural network given below takes two binary valued inputs x1,x2 ϵ{0, 1} and the activation function is the binary threshold function (h(x)=l if x>0;O otherwise). Which of the following logical functions does it compute?
A) OR
B) AND
C) NAND
D) None of these
Attachments:
Answers
Answered by
1
Answer is AND
for x1 = 0 , x2 =0 => x = -12 , -12 <0 hence h(x) = 0
for x1 = 0 , x2 =1 => x = -4 , -4 <0 hence h(x) = 0
for x1 = 1 , x2 =0 => x = -4 , -12 <0 hence h(x) = 0
for x1 = 1 , x2 =1 => x = 4 , 4 > 0 hence h(x) = 1
Similar questions
Science,
6 months ago
Biology,
6 months ago
Science,
6 months ago
Math,
1 year ago
India Languages,
1 year ago