Evaluation
Evaluation
• Choosing between Precision and Recall depends on the condition in which the model has
been deployed. In a case like Forest Fire, a False Negative can cost us a lot and is risky
too. Imagine no alert being given even when there is a Forest Fire. The whole forest
might burn down.
• Another case where a False Negative can be dangerous is Viral Outbreak. Imagine a
deadly virus has started spreading and the model which is supposed to predict a viral
outbreak does not detect it. The virus might spread widely and infect a lot of people.
• On the other hand, there can be cases in which the False Positive condition costs us more
than False Negatives. One such case is Mining. Imagine a model telling you that there
exists treasure at a point and you keep on digging there but it turns out that it is a false
alarm. Here, False Positive case (predicting there is treasure but there is no treasure) can
be very costly.
• Similarly, let’s consider a model that predicts that a mail is spam or not. If the model
always predicts that the mail is spam, people would not look at it and eventually might
lose important information. Here also False Positive condition (Predicting the mail as
spam while the mail is not spam) would have a high cost.
• Think of some more examples having:
• • High False Negative cost
• ________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________
• • High False Positive cost
• To conclude the argument, we must say that if we want to know if our
model’s performance is good, we need these two measures: Recall
and Precision. For some cases, you might have a High Precision but
Low Recall or Low Precision but High Recall. But since both the
measures are important, there is a need of a parameter which takes
both Precision and Recall into account.
F1 Score