3 %> @brief Calculates entropy curve of a hitss matrix
5 %> @param hitss matrix [nf selected]x[nf] of
"hits", where each row is a histogram in a forward selection process
7 %> @arg
'uni' evaluates the rows individually
8 %> @arg
'accum' accumilates rows
as it goes down the rows
9 %> @
return y nf x stability curve
12 if nargin < 2 || isempty(type)
17 [nf_select, nf] = size(hitss);
19 y = zeros(1, nf_select);
29 irerror(sprintf('Unknown type: "%s"', type));
32 % converts to frequency or probability estimations
36 y(i) = -sum(p.*log10(p));
function hitsentropy(in hitss, in type)
Analysis Session (AS) base class.