Explain what precision and recall are. How do they relate to the ROC curve?

Data Science Interview QuestionsCategory: Data ScienceExplain what precision and recall are. How do they relate to the ROC curve?
2 Answers
MockInterview Staff answered 4 years ago

More reading: Precision and recall (Wikipedia)
Recall is also known as the true positive rate: the amount of positives your model claims compared to the actual number of positives there are throughout the data. Precision is also known as the positive predictive value, and it is a measure of the amount of accurate positives your model claims compared to the number of positives it actually claims. It can be easier to think of recall and precision in the context of a case where you’ve predicted that there were 10 apples and 5 oranges in a case of 10 apples. You’d have perfect recall (there are actually 10 apples, and you predicted there would be 10) but 66.7% precision because out of the 15 events you predicted, only 10 (the apples) are correct.
Source: Springboard

Your Answer

2 + 19 =