Computer Science, asked by Shyamsr, 1 year ago

What would be a correct option for weight W[W0,W1,W2],so that the following sigmoid unit will function as an AND gate?
A) [-5,10,10]
B) [-10,15,15]
C) [-10,15,5]
D) [-10,9,9]

Attachments:

Answers

Answered by jeevan9447
2

Solution is (D)

Hints: Taking option ’D’ input to the sigmoid node= −10∗1 + 9∗x1 + 9∗x2 = 9x1 + 9x2 −10

Only in this case output equal to 1 if x1 and x2 both equal to 1.

Answered by topanswers
0

Sigmoid unit: The unit which determines the slope using an activation function and a threshold is referred to as a sigmoid unit.

For a sigmoid to function as an AND gate,

Condition:

The output should be equal to 1 if the inputs are equal to 1.

Solution:

Consider the weights to be [ -10, 9 , 9 ]

Then,

AND function,

−10 ∗ 1 + 9 ∗ x1 + 9 ∗ x2

9x1 + 9x2 − 10

If x1 and x2 are equal to 1, the output is also equal to 1.

Hence, (D) [ -10, 9 , 9 ] is the answer.

Similar questions