confmatrix_show

PURPOSE ^

Used to display a confusion matrix.

SYNOPSIS ^

function confmatrix_show( CM, types, pvpairs, ndigits )

DESCRIPTION ^

 Used to display a confusion matrix.  

 See confmatrix for general format and info on confusion matricies.  This function
 normalizes the CM before displaying (hence all values range in [0,1] and rows sum to 1. 

 INPUTS
   CM          - ntypes x ntypes confusion array -- see confusmatrix
   types       - cell array of length ntypes of text labels for each type 
   pvpairs     - [optional] parameter / value list for text.m
   ndigits     - [optional] number of digits after decimal to display

 OUTPUTS
   NONE

 EXAMPLE
   cliptypes = { 'anger','disgust','fear','joy','sadness','surprise' };
   confmatrix_show( rand(6)/3+eye(6), cliptypes, {'FontSize',20} )
   title('confusion matrix','FontSize',24);

 DATESTAMP
   29-Sep-2005  2:00pm

 See also CONFMATRIX, TEXT2

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Sun 02-Oct-2005 19:35:28 by m2html © 2003