function n = getNumWeak(rab) returns number of weak classifiers Inputs: rab : real ada boost classifier instance Outputs: n : number of weak classifiers
0001 function n = getNumWeakCls(rab) 0002 % function n = getNumWeak(rab) 0003 % 0004 % returns number of weak classifiers 0005 % 0006 % Inputs: 0007 % rab : real ada boost classifier instance 0008 % Outputs: 0009 % n : number of weak classifiers 0010 0011 n = length(rab.trndCls);