Skip to main content
replaced http://stats.stackexchange.com/ with https://stats.stackexchange.com/
Source Link

Precision is defined as:

p = true positives / (true positives + false positives)

What is the value of precision if (true positives + false positives) = 0? Is it just undefined?

Same question for recall:

r = true positives / (true positives + false negatives)

In this case, what is the value of recall if (true positives + false negatives) = 0?

P.S. This question is very similar to the question What are correct values for precision and recall in edge cases?What are correct values for precision and recall in edge cases?.

Precision is defined as:

p = true positives / (true positives + false positives)

What is the value of precision if (true positives + false positives) = 0? Is it just undefined?

Same question for recall:

r = true positives / (true positives + false negatives)

In this case, what is the value of recall if (true positives + false negatives) = 0?

P.S. This question is very similar to the question What are correct values for precision and recall in edge cases?.

Precision is defined as:

p = true positives / (true positives + false positives)

What is the value of precision if (true positives + false positives) = 0? Is it just undefined?

Same question for recall:

r = true positives / (true positives + false negatives)

In this case, what is the value of recall if (true positives + false negatives) = 0?

P.S. This question is very similar to the question What are correct values for precision and recall in edge cases?.

Source Link
khatchad
  • 771
  • 1
  • 5
  • 10

What are correct values for precision and recall when the denominators equal 0?

Precision is defined as:

p = true positives / (true positives + false positives)

What is the value of precision if (true positives + false positives) = 0? Is it just undefined?

Same question for recall:

r = true positives / (true positives + false negatives)

In this case, what is the value of recall if (true positives + false negatives) = 0?

P.S. This question is very similar to the question What are correct values for precision and recall in edge cases?.