Changeset 44 for hep2cells


Ignore:
Timestamp:
03/08/13 15:17:23 (12 years ago)
Author:
dtax
Message:

To it nicer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • hep2cells/dosimpleofficial.m

    r42 r44  
    11% Train on individual cells,
    22% evaluate on individual cells
    3 clear all;
     3clear all; addpath ~/matlab/ideas/hep2cells;
    44load cellssimple_rotinv.mat
    55xtrain = a; xtest = b; a = [a;b];
     
    6767% show all:
    6868showconfmat(c_CC,ll);
    69 fprintf('Train:Cell   Test:cell       %f\n',acc_CC);
     69fprintf('Train:Cell   Test:cell       %3.1f%% correct\n',100*acc_CC);
    7070showconfmat(c_CI,ll);
    71 fprintf('Train:Cell   Test:image      %f\n',acc_CI);
     71fprintf('Train:Cell   Test:image      %3.1f%% correct\n',100*acc_CI);
    7272fprintf('*************************************************************\n');
    7373for i=1:28
    74    fprintf('Image %02d:%s  %d   %f\n',i,truelab(i,:),n(i,1),n(i,2));
     74   fprintf('Image %2d:%s  %3d   %3.1f%%\n',i,truelab(i,:),n(i,1),100*n(i,2));
    7575end
    7676showconfmat(c_IC,ll);
    77 fprintf('Train:Image   Test:cell       %f\n',acc_IC);
     77fprintf('Train:Image   Test:cell      %3.1f%% correct\n',100*acc_IC);
    7878showconfmat(c_II,ll);
    79 fprintf('Train:Image   Test:image      %f\n',acc_II);
     79fprintf('Train:Image   Test:image     %3.1f%% correct\n',100*acc_II);
    8080
Note: See TracChangeset for help on using the changeset viewer.