source: hep2cells/showconfmat.m @ 97

Last change on this file since 97 was 46, checked in by dtax, 12 years ago

Changes....

File size: 295 bytes
Line 
1function R = showconfmat(C,ll)
2
3if size(C,1)~=size(C,2)
4   error('Matrix C should be square.');
5end
6if size(C,1)~=size(ll,1)
7   error('Number of rows in lablist does not match C.');
8end
9
10R = results(C,ll,ll);
11R = setdimname(R,'true','estimated class');
12if nargout<1
13   show(R,'text','%3d');
14end
Note: See TracBrowser for help on using the repository browser.