1 %> @brief Dataset representing estimation
3 %> These datasets are outputted by a classifier,
clssr::use() method
7 o.classtitle = 'Estimation';
10 %> This function expects @c X to represent supports for each class. With the new class labels, it will expand
11 %> and reorganize X, with the supports the previously non-existing classes being 0, obviously.
12 function o = change_classlabels(o, clnew)
14 X = zeros(o.no, numel(clnew));
17 o.fea_x = 1:numel(clnew);
18 o.classlabels = clnew;
21 %> Copies relevant properties from dataset
22 function o = copy_from_data(o, data)
23 o.groupcodes = data.groupcodes;
24 o.groupnumbers = data.groupnumbers;
function use(in o, in data)
Applies block to data.
Dataset representing estimation.
function renumber_classes(in classes_orig, in classlabels_orig, in classlabels_ref)