AlexeyAB / darknet

YOLOv4 / Scaled-YOLOv4 / YOLO - Neural Networks for Object Detection (Windows and Linux version of Darknet )
http://pjreddie.com/darknet/
Other
21.66k stars 7.96k forks source link

How to draw the ROC curve of a binary classification problem? #6539

Open tinothy22 opened 4 years ago

tinothy22 commented 4 years ago

There are two types of my custom dataset, one with a helmet and one without a helmet. How do I draw the ROC curve? As far as I know, TPR=TP/(TP+FN), FPR=FP/(FP+TN), I can get TP, FP, FN when evaluating, but how does TN count? @AlexeyAB ,Hope to get your answer.

ayhanclskn commented 3 years ago

I have same question. Did you reach to a conclusion?

ayhanclskn commented 3 years ago

@tinothy22 ?

ayhanclskn commented 3 years ago

I dont know how to draw roc curve