Logical AND

laora

New member
Joined
Dec 16, 2020
Messages
2
For an AND truth table:
FGoutput
000
010
100
111

Equation: Z = W1 x F + W2 x G + B
if Z >= 0 we will consider it to be 1 and if Z < 0 we will consider it to be 0

what is the logic behind choosing the values for W1, W2 and B which will remain same for all the rows such that we will get the output of the AND gate.
 
Last edited:
That would depend on the nature of your task.

You have
B
W1+B
W2+B
W1+W2+B
Are these useful values?

What are the ranges for W1, W2, and B?

Pretty hard to know how to help you - entirely lacking information.
 
That would depend on the nature of your task.

You have
B
W1+B
W2+B
W1+W2+B
Are these useful values?

What are the ranges for W1, W2, and B?

Pretty hard to know how to help you - entirely lacking information.

Well this was a Neural Network problem I tried to formulate it as a mathematical questions as much as possible .

the answer are both W1 , W2 are 1 and B is in the range -2 to -1. so my question was how do we decide those values is there any mathematical logic behind it.
 
I think I already covered that problem. It would depend ENTIRELY on the nature or your task. It is unlikely that a reasonably well-designed Neural Network would have arbitrary design structures.
 
Top