How to plot ROC curve ?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
ibrahim
am 3 Mai 2015
Beantwortet: Image Analyst
am 3 Mai 2015
I work about database include 60 person and i have a result as follow : 58 identify and 2 not identify. i.e Rec rate=96.667 I ask about : 1- how to calculate tpr and fpr?.....i calculated it as tpr=58/60=0.967 and fpr=0 (is this method right?). 2- how to plot ROC curve? Note: I have only positive set= 60 person and i haven't negative set. Thanks in advance
0 Kommentare
Akzeptierte Antwort
Image Analyst
am 3 Mai 2015
You don't need negatives for the ROC curve. You just need positives, and you have them both. You call them tpr and fpr. Of course since your false positive rate is 0 and doesn't vary at all, your ROC curve would be just a horizontal line going from (0, .967) to (1, .967) This good performance won't last as you begin to encounter more challenging situations. It sounds like your test set was identical to your training set so of course the ROC curve will be a very high flat line.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Detection finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!