Академический Документы
Профессиональный Документы
Культура Документы
x1 w1
b+x1*w1+x2*w2=0 Yin y
Then calculate w2 x2 w2
X2=-w1/w2*x1-b/w2
Case1:- Positive response of the net Case2:- Positive response of the
net
b+x1*w1+x2*w2>0 b+x1*w1+x2*w2<0
Yin>Ө yin<Ө
Question
Q1.Using the Linear separability concept,obtain the response for OR
function(take bipolar inputs and bipolar targets).
X1 X2 Y X1 X2 Y
1 1 1 1 1 1
1 -1 1 1 0 1
-1 1 1 0 1 1
-1 -1 -1 0 0 0
x2
(-1,1) (1,1)
+ +
x1
(-1,-1) (1,-1)
- +
AND Function
Bipolar data Bipolar data
X1 X2 Y X1 X2 Y
1 1 1 1 1 1
1 -1 -1 1 0 0
-1 1 -1 0 1 0
-1 -1 -1 0 0 0
x2 (1,1)
(-1,1)
- +
(-1,-1) x1
(1,-1)
-
-
Steps:-
(1) First give quadrant representation of gate
(2) Calculate the slope m
(3) Calculate the intercept c
(4) Put in equation y=mx + c to get equation of line.
(5) Compare the equation with standard equation and obtain the
weight and bias
(6) Finally give threshold value by computing (yin) for all cases using
the weight obtained in previous cases
THANK YOU