Changeset 20 for distools/issquare.m
- Timestamp:
- 07/16/11 14:48:08 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
distools/issquare.m
r10 r20 12 12 % DESCRIPTION 13 13 % True is D is a square dissimilarity matrix dataset. This includes 14 % the check whether feature labels equal object labels.15 % If called without an output argument ISSQUARE generates an error16 % if D is not square.14 % the check (in case of crisp dataset D) whether feature labels equal 15 % object labels. If called without an output argument ISSQUARE generates an 16 % error if D is not square. 17 17 18 18 % Copyright: Elzbieta Pekalska, ela.pekalska@googlemail.com … … 26 26 27 27 if m == k 28 n = nlabcmp(getfeatlab(d),getlabels(d)); 29 OK = (n == 0); 28 if islabtype(d,'crisp') 29 n = nlabcmp(getfeatlab(d),getlabels(d)); 30 OK = (n == 0); 31 else 32 OK = 1; 33 end 30 34 else 31 35 OK = 0;
Note: See TracChangeset
for help on using the changeset viewer.