Page 325 - AI Ver 1.0 Class 10
P. 325

Confusion Matrix                   Actual:1                     Actual: 0
                                  Predicted 1                        6                             3

                                  Predicted 0                       20                            65

                       Calculate Accuracy, Precision, Recall and F1 Score
                   Ans.

                                TP                 FP                 FN                TN

                                6                   3                 20                65

                                                                       (TP+ TN)
                                                        Accuracy =                   × 100%
                                                                  (TP+ TN +FP+ FN)


                                                                =                × 100



                                                                   71
                                                                 =    × 100 = 75.5%
                                                                  94

                                                                     TP
                                                        Precision  =      × 100
                                                                   TP +FP


                                                                    6
                                                                =      × 100 = 66.66%
                                                                  6 + 3

                                                                     TP
                                                           Recall =        = 0.23
                                                                   TP + FN


                                                        F1 Score = 2 ×  Precision×Recall
                                                                      Precision+ Recall


                                                                      66.66 × 0.23
                                                                 = 2 ×
                                                                      66.66 + 0.23

                                                                      15.33
                                                                = 2 ×       = 0.45
                                                                      66.89

                    4.  Give 3 reasons for AI Model inefficiency?

                   Ans.  •   Lack of Training Data: The lack of training data could be due to less data available for developing an AI Model, or the
                         data is missed while training the model then the AI model created will not be efficient.
                       •   Unauthenticated Data / Wrong Data: If the  data  is not  authenticated and  correct  due  to negligence  or  data
                         collected from unauthorized resources then the model will not give good results.

                       •   Inefficient coding / Wrong Algorithms: If the written algorithms are not correct and relevant, Model will not give
                         desired output.






                                                                                                Evaluation  323
   320   321   322   323   324   325   326   327   328   329   330