IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
fsg_test_var.m
Go to the documentation of this file.
1 %> @brief Feature subset grader - variance
3  methods(Access=protected)
4  function z = test(o, dd, idxs)
5  z = zeros(1, numel(idxs));
6  for i = 1:numel(idxs)
7  X = dd(1).X(:, idxs{i});
8  z(i) = mean(var(X, [], 1));
9  end;
10  end;
11  end;
12 
13  methods
14  function o = fsg_test_var(o)
15  o.classtitle = 'Variance';
16  o.flag_pairwise = 0;
17  o.flag_univariate = 1;
18  o.flag_params = 0;
19  end;
20  end;
21 end
Feature subset grader - variance.
Definition: fsg_test_var.m:2
Feature subset grader that uses a statistical test.
Definition: fsg_test.m:2