Page 205 - AI Ver 3.0 class 10_Flipbook
P. 205

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  11  11 BACKGROUND47 63  1  NO(0)
                                                                                                         FLAT 47 63
                                                                                                        FLAT
                                                                                                        FLAT
                                                                                                         BINGO
                                                                                                        BINGO
                                                                                                     24  1 11  BACKGROUND  BACKGROUND 47 62
                                                                                                        BINGO
                                                                                                      1 48 38 22
                                                                                                       48 38 22 5
                         game to play?         2.5                                                   1  26 54 62 62 13  5
                                                                                                       48 38 22 5
                                                                                                     26 54 62
                                                                                                     26 www.bingobackground.com 54  13 13 77 77
                                                                                                     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.
                                                          Perceptron: Go for Picnic
                                                                                                                 NO(0)
                   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
                    Should I bring a Tambola           Weighted         Activation                   12 60 67 24 39 26  15 2  9
                                                                                                      60 67 39 26 9
                                                                                                       60 67 39 26 9
                                                                                                         FLAT 47 63
                                                                                                         FLAT
                                                                                                         FLAT
                                                                                                         BINGO
                                                                                                      24  24 1 11  11  11 BACKGROUND47 63  1  YES(1)
                                                                                                         BINGO
                                                                                                         BINGO
                                                                                                        BACKGROUND
                                                                                                         BACKGROUND 47 62
                        game to play?           2.5       Sum            Function      Output         1 26 54 62  13 13 77  5
                                                                                                      1 48 38 22
                                                                                                       48 38 22 5
                                                                                                        48 38 22 5
                                                                                                      26 54 62 62 13
                                                                                                      26
                                                                                                      www.bingobackground.com 54
                                                                                                      www.bingobackground.com
                                                                                                     www.bingobackground.com  77 77
                                                1.5        ∑                             Y
                  Will there be big playground
                                                                                                                 NO(0)
                        to play cricket?
                                                1.0
                                                                          4.0
                    Will there be food outlets                                             B                     YES(1)
                            nearby?
                                                                 Scenario 2              YES(1)
                 When we calculate, the output is -0.5. Since this is below the threshold of 0, the result indicates that you will not
                 go to the playground because it is small, and you will not play cricket due to the absence of a cricket kit.
                                                                          Advanced Concepts of Modeling in AI   203
   200   201   202   203   204   205   206   207   208   209   210