際際滷

際際滷Share a Scribd company logo
Calculating Accuracy, Precision and Recall
                                                     PREDICTION
                                                      true                false




                                           true
                                 REALITY               a                   b
                                           false
                                                       c                   d


                                                                                     (a+d)
                  accuracy: what percent of the prediction were correct?
                                                                                    (a+b+c+d)

                                                                                      (a)
                  precision: what percent of positive predictions were correct?
                                                                                     (a+c)

                                                                                      (a)
                  recall: what percent of positive cases were caught?
                                                                                     (a+b)
Samstag, 19. Januar 2008                                                                        1

More Related Content

Computing Accuracy Precision And Recall

  • 1. Calculating Accuracy, Precision and Recall PREDICTION true false true REALITY a b false c d (a+d) accuracy: what percent of the prediction were correct? (a+b+c+d) (a) precision: what percent of positive predictions were correct? (a+c) (a) recall: what percent of positive cases were caught? (a+b) Samstag, 19. Januar 2008 1