1 %> @brief Block that resolves @ref
estimato posterior probabilities into classes.
3 %> This is an abstraction of
class decisions based on the posterior probabilities calculated by a classifier. Classifiers generate an
estimato
4 %> dataset which is later processed by a
decider. If the highest per-
class posterior probability is below the
decider decisionthreshold property,
5 %> it will “refuse to decide”, registering a
class of -1 instead of a valid one.
8 %> L. I. Kuncheva, Combining pattern classifiers. Wiley, 2004.
12 %> =0. Minimum maximum probability. If not reached, assigned
class will be -1, which means "refuse-to-decide". Assigning the threshold may require optimization or use of some theoretic formula.
13 decisionthreshold = 0;
18 o.classtitle = 'Decider';
24 methods(Access=protected)
25 function est = do_use(o, est)
26 [val, idx] = max(est.X, [], 2);
28 est.classes = -1*ones(no, 1);
29 map_in = val >= o.decisionthreshold;
30 est.classes(map_in) = idx(map_in)-1;
33 est.fea_names = {
'Support'};
Block that resolves estimato posterior probabilities into classes.
Dataset representing estimation.