Ignore:
Timestamp:
03/26/13 15:32:10 (12 years ago)
Author:
dtax
Message:

Changes....

File:
1 edited

Legend:

Unmodified
Added
Removed
  • hep2cells/dosimpleofficial.m

    r44 r46  
    99
    1010% the classifier:
    11 u =  loglc2;
     11%u =  scalem([],'variance')*loglc2([],0.01);
     12%u = scalem([],'variance')*knnc;
    1213u = scalem([],'variance')*liknonc;
     14%u = scalem([],'variance')*libsvc([],[],0.01);
     15%u = scalem([],'variance')*libsvc([],proxm([],'r',12),1);
    1316
    1417% ***************
     
    2124% test on image level:
    2225[labout,truelab] = majorityimagevote(xtest,wtrain);
     26%[labout,truelab] = combinecells(xtest,wtrain);
    2327acc_CI = mean(all(truelab==labout,2));
    2428c_CI = confmat(truelab,labout);
     29if size(c_CI,2)<size(c_CI,1), c_CI = [c_CI zeros(6,1)]; end
    2530
    2631% *********************
     
    5661   % test on images
    5762   [labout,truelab(i,:)] = majorityimagevote(z,w);
     63   %[labout,truelab(i,:)] = combinecells(z,w);
    5864   i1 = strmatch(char(truelab(i,:)),ll);
    5965   i2 = strmatch(labout,ll);
     
    6470
    6571dd_message(4,'\n');
     72
     73save results_liknon ll c_CC acc_CC c_CI acc_CI truelab n c_IC acc_IC c_II acc_II
    6674
    6775% show all:
Note: See TracChangeset for help on using the changeset viewer.