REJECTM Trainable mapping to compute rejection threshold
W = REJECTM(A,FRAC) DescriptionTrain 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'. Example(s) 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
See also
|