Home > brede > brede_vol_plot_roc.m

brede_vol_plot_roc

PURPOSE ^

brede_vol_plot_roc - Plot ROC curve

SYNOPSIS ^

function brede_vol_plot_roc(V1, V2, varargin)

DESCRIPTION ^

 brede_vol_plot_roc   - Plot ROC curve 

       function brede_vol_plot_roc(V1, V2, varargin)

       Input:  V1   Test 'vol' structure or matrix
               V2   Ground true 'vol' structure or matrix

       This function plots a receiver operating characteristics
       curve. In V2 zero will denote false while nonzero will denote
       true. 

       If the curve is very close to the y-axis it might be helpful
       to plot the x-axis with a logarithmic scale: 
                      set(gca, 'xscale', 'log')

       Example: 
         f = fullfile(fileparts(which('brede')), 'xml', 'wobibs.xml');
         B = brede_read_xml(f, 'output', 'collapsesecond');
         V = brede_bib_bib2vol(B{1});
         V = V{1};
         T = brede_vol_threshold(V, 1000);
         V.volume = V.volume + 1000 * randn(size(V.volume));
         brede_vol_plot_roc(V,T);         

       See also BREDE, BREDE_VOL, BREDE_VOL_PLOT_CUMDIST,
                BREDE_VOL_PLOT_HIST.

 $Id: brede_vol_plot_roc.m,v 1.6 2003/09/18 15:45:01 fnielsen Exp $

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 27-Nov-2009 18:11:22 by m2html © 2005