The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

gli (4) [Avatar] Offline
#1
Hi.

It seems that the confusion matrix in Fig.4.5 is incorrect.

Current version:

                   Predicted
                 Cat          Dog
        Cat     30/TP        20/FP
Actual  Dog     10/FN        40/TN



Should be:
                   Predicted
                 Cat          Dog
        Cat     30/TP        20/FN
Actual  Dog     10/FP        40/TN


And hence the correct values of precision and recall in the Exercise 4.2 are:

precision = 30/(30+10) = 3/4
recall = 30/(30+20) = 3/5