source: hep2cells/showconfmat.m @ 91

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

Changes....

File size: 295 bytes
RevLine 
[43]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);
[46]11R = setdimname(R,'true','estimated class');
[43]12if nargout<1
[46]13   show(R,'text','%3d');
[43]14end
Note: See TracBrowser for help on using the repository browser.