mAP icon indicating copy to clipboard operation
mAP copied to clipboard

About the P-R curve

Open Qingfeng0623 opened this issue 5 years ago • 8 comments

Hello,I have one problem about the P-R curve. image The curve in the above picture is normal,but my picture didn't like this. image Why is there no content in the red circle?

Qingfeng0623 avatar Nov 27 '19 13:11 Qingfeng0623

They are assuming that the recall goes to 1 if the precision goes to 0. Meaning that if your object detector was bad (precision 0), it would detect an infinite amount of objects which would bring the recall value to 1.

Cartucho avatar Dec 09 '19 20:12 Cartucho

Do you think we should draw it anyway? Even if it does not relate to your real data?

Cartucho avatar Dec 09 '19 20:12 Cartucho

Do you think we should draw it anyway? Even if it does not relate to your real data?

Then why are they different?I mean the the x-coordinate of P-R curves are different according to my classess,one is up to about 0.78,another is up to about 0.64,even 0.5*. image image

Qingfeng0623 avatar Dec 10 '19 01:12 Qingfeng0623

Is it related the amount of some class?The larger the number, the larger the abscissa can be?

Qingfeng0623 avatar Dec 10 '19 01:12 Qingfeng0623

The two classes do not need to have the same recall score. Your object detector may be good at detecting humans but not at detecting bananas for example.

Cartucho avatar Dec 11 '19 10:12 Cartucho

Do you think we should draw it anyway? Even if it does not relate to your real data?

if I want to draw this parts, how to draw it?

creabob avatar Apr 27 '20 08:04 creabob

Do you think we should draw it anyway? Even if it does not relate to your real data?

I don‘t get it.With out drawing it,how can we caculate the area under the P-R curve?The curve is not closed any way.Sorry,my English is poor. I don't know if you get me.

Yonio-Lee avatar May 16 '20 14:05 Yonio-Lee

Can we extend your code to somehow get closed PR curves? Maybe compute recall at other values as well? Or extrapolate?

praneet195 avatar May 31 '21 22:05 praneet195