in Technology by
What are precision and recall? In which cases are they used?

1 Answer

0 votes
by

Precision and recall are metrics that measure classification performance, each using its own criteria, given by the formulas below:

Precision=TPTP+FPRecall=TPTP+FN

Where:

TP = True Positive
FP = False Positive
FN = False Negative

In other words, precision is the ratio of correctly classified positive cases over all cases predicted as positive, while recall is the ratio of correctly classified positive cases over all positive cases.

Precision is an appropriate measure when the cost of a false positive is high (e.g. email spam classification), while recall is appropriate when the cost of a false negative is high (e.g. fraud detection).

Both are also frequently used together in the form of the F1-score, which is defined as:

F1=2∗Precision∗RecallPrecision+Recall

The F1-score balances both precision and recall, so it’s a good measure of classification performance for highly imbalanced datasets.

Related questions

0 votes
    Write the equation and calculate the precision and recall rate....
asked Apr 27, 2021 in Technology by JackTerrance
0 votes
    Calculate Accuracy, Precision, Recall and F1 Score for the following Confusion Matrix on Heart Attack Risk. Also suggest ... and why? Select the correct answer from above options...
asked Nov 12, 2021 in Education by JackTerrance
0 votes
    I'm wondering how to calculate precision and recall measures for multiclass multilabel classification, i.e. classification ... labels? Select the correct answer from above options...
asked Jan 31, 2022 in Education by JackTerrance
0 votes
    X X speaks truth in 60% and Y Y in 50% of the cases. Find the probability that they contradict each other narrating the ... 1 D. 2 3 2 Select the correct answer from above options...
asked Nov 15, 2021 in Education by JackTerrance
0 votes
    What are the common use cases Jenkins is used for?...
asked Sep 14, 2021 in Technology by JackTerrance
0 votes
    What are the common use cases Jenkins is used for?...
asked Jul 16, 2021 in Technology by JackTerrance
0 votes
    Numbers in R are generally treated as _______ precision real numbers. (a) single (b) double (c) real (d) ... and Out of R Programming Select the correct answer from above options...
asked Feb 13, 2022 in Education by JackTerrance
0 votes
    In which of the following cases Session Initiation Protocol is not used? (a) Instant Messaging (b) Voice over LTE ... Security questions and answers pdf, mcq on Cyber Security pdf,...
asked Nov 5, 2021 in Education by JackTerrance
0 votes
    Why is it that in some cases, SQL override is used?...
asked Mar 27, 2021 in Technology by JackTerrance
0 votes
    I'm trying to achieve the same amount of precision (number of digits after decimal point) for results ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 16, 2022 in Education by JackTerrance
0 votes
    Debugging some finance-related SQL code found a strange issue with numeric(24,8) mathematics precision. Running ... for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 17, 2022 in Education by JackTerrance
0 votes
    The benefit of the _____ function is that it is the only way to perfectly repressed an R object in an ... Operations of R Programming Select the correct answer from above options...
asked Feb 13, 2022 in Education by JackTerrance
0 votes
    Give an example where High Precision is not usable. Select the correct answer from above options...
asked Nov 12, 2021 in Education by JackTerrance
...