Page 134 - Ai_C10_Flipbook
P. 134
Perceptron: Go for Picnic
Should I bring a cricket kit?
3.5
Should I bring a Tambola game Weighted Activation
to play? 2.5 Sum Function Output
1.5 ∑ Y
Will there be big playground to
play Cricket?
1.0
4.0
B
Will there be food outlets nearby?
The values of the weight can be anything and there is no right or wrong answer to it. However, whether they are
playing Cricket or Tambola will be determined by values that are chosen. This is the reason why everyone gets
different decisions, even though the situation/conditions are the same for everyone.
Scenario 1: In reality the ground is big, there are no food outlets around the place, we have the cricket kit and
we do not have tambola so, we assign YES or NO to the factors. We can convert the YES to 1 and NO to 0, and for
bias, we always take 1.
Now, we calculate the weighted sum by adding the products of factor value(1 or 0) with the weight of factor &
reducing the weight of bias and compare it with the threshold of 0.
When we calculate, the output is 1.0, which is higher than the threshold, which happens to be 0. The result will be
to play cricket in the big ground on a picnic.
Perceptron: Go for Picnic
YES(1)
Should I bring a cricket kit?
3.5
12 I N G O O
B 12 8 B I N G 8 28 15 28 15 2
B I N G O
8 28
12
Should I bring a Tambola 60 67 24 39 26 2 15 9
60 67 39 26 9
60 67 39 26 9
24 24 1 11 11 11 BACKGROUND47 63 1 NO(0)
FLAT
FLAT
FLAT 47 63
BINGO
BINGO
BINGO
BACKGROUND
BACKGROUND 47 62
game to play? 2.5 1 26 54 62 62 13 5
1 48 38 22
48 38 22 5
48 38 22 5
26 54 62
www.bingobackground.com 54 13 13 77 77
26
www.bingobackground.com
www.bingobackground.com 77
Output=(1*3.5)+ (0*2.5)+(1*1.5)+(0*1)–(1*4)
1.5
Will there be big playground Output=1
YES(1)
to play cricket?
1.0
4.0
Will there be food outlets B NO(0)
nearby?
Scenario 1 YES(1)
Scenario 2: In reality the ground is not big, there are food outlets around the picnic spot, we do not have the
cricket kit, but we have Tambola. We can convert the YES to 1 and NO to 0, and keep 1 for bias.
132 Artificial Intelligence Play (Ver 1.0)-X

