Changeset 16


Ignore:
Timestamp:
04/05/11 10:52:05 (14 years ago)
Author:
bduin
Message:

disnorm updated

Location:
distools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • distools/discheck.m

    r10 r16  
    4646  c = size(lablist,1);
    4747end
     48if isempty(featlist) & c > 0
     49        error('Features are unlabeled and objects are: no proper dissimilarity matrix')
     50end
     51
    4852[nn,nf,fl] = renumlab(lablist,featlist);
    4953if max(nf) > c
  • distools/disnorm.m

    r10 r16  
    3434end
    3535
     36if ~isdataset(D)
     37        D = dataset(D,1);
     38        D = setfeatlab(D,getlabels(D));
     39end
     40
    3641%DEFINE mapping
    3742if isstr(opt)
Note: See TracChangeset for help on using the changeset viewer.