Logo white

Peter M. Groen / openbr

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • openbr
  • scripts
  • matlab
  • rocPoint.m
  • Script to compute ROC score at a specific point
    8bc63e51
    bklare authored
    2015-07-07 13:31:40 -0400  
    Browse Code ยป
rocPoint.m 170 Bytes
Edit Raw Blame History Permalink
1 2 3 4 5 6 7 8
function [ta score] = getROC(t,f,th)
% [ta] = getROC(t,f,th)
    [a1 a2] = min(abs(f - th));
    ta = t(a2);
    score = a2;
    if max(f) == 0
        ta = 1.0;
    end