display(rab): the display function for the RealAdaBooster classifier class.
0001 function display(rab) 0002 % display(rab): the display function for the RealAdaBooster classifier class. 0003 0004 disp('Real AdaBooster Classifier'); 0005 if isnan(rab.thresh), 0006 disp(' classifier is not trained'); 0007 else 0008 disp(' classifier is trained'); 0009 fprintf('\tNumber of stages = %d\n', rab.nStages); 0010 for i = 1:rab.nStages 0011 fprintf('* Stage # %d\n', i); 0012 disp('------------') 0013 display(rab.trndCls{i}); 0014 end 0015 end