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       - [optional] 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
   07-Oct-2005  5:00pm

 See also CONFMATRIX, TEXT2

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Wed 03-May-2006 23:48:50 by m2html © 2003