1 %> @brief Class-Hierarchical Training Data Split
3 %> Creates one classifier per
class when taking the @c hie_split class hierarchical levels into account for splitting
4 %> the training dataset.
6 %> Every time @c train() is called, new classifiers are added maintaining existing ones.
8 %> @todo think about the future of this class, it cannot be trained like the others! The problem is that the classes in
9 %> dataset passed for training are not the classes classified by the classifier
13 %> must contain a
block object that will be replicated
as needed
19 o.classtitle = 'Class-Hierarchical Training Data Split';
23 methods(Access=protected)
24 %> Adds one classifier per class considering the-the-the-the. Existing classifiers remain
25 function o = do_train(o, data)
28 pieces = data.split_splitidxs();
36 labels_temp = unique([labels_temp, d.classlabels]); % collects
class labels - here providing for idfferent splits not having the same class labels
38 cl = o.block_mold.boot();
40 cl.title = [
'Model ', int2str(i)];
42 o.blocks(k).block = cl;
43 o.blocks(k).classlabels = d.classlabels;
49 o.classlabels = labels_temp;
Class-Hierarchical Training Data Split.
function progress2_change(in prgrss, in title, in perc, in i, in n)
Base class for all ensemble classifiers.
function progress2_open(in title, in perc, in i, in n)
function progress2_close(in prgrss)
Analysis Session (AS) base class.