PRTools contents |
REJECTM
W = REJECTM(A,FRAC)
Train the threshold of a rejection mapping W such that a fraction FRAC of the training data A is rejected. Dataset A is usually the output of a classifier. The mapping REJECTM will add one extra reject class.
W = REJECTM(A,FRAC,REJNAME)
If desired, the rejected objects will be labeled REJNAME. Default is REJNAME = 'reject'.
A = GENDATB; % create trainingset W = LDC(A); % create supervised classifier WR = REJECTM(A*W,0.05); % reject 5% of the data SCATTERD(A); PLOTC(W*WR); % show
PRTools contents |