IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
featurestability.m File Reference

Detailed Description

Calculates the stability curve for a set of feature subsets.

This function is suitable for feature subsets found using Sequential Forward Feature Selection

Kuncheva's "consistency" formula is I_c = (r-k^2/nf)/(k-k^2/nf), where r is the number of common elements in the two sets, and k is the number of elements of either sets

References

Kuncheva, L. I. A stability index for feature selection, 390-395.

Parameters
subsetsmatrix or cell of subsets. If matrix, each row is a subset. A subset contains feature indexes. If cell of subsets, all subsets must have the same number of elements
nfNumber of features
type='kun'. Type of stability measuse. Possibilities are:
  • 'kun' Kuncheva's Stability Index
  • ... (open for others)
type2='mul'
  • 'uni' evaluates position in subsets individually
  • 'mul' evaluates considering m-sized subsets (m = 1..k)

Definition in file featurestability.m.

Go to the source code of this file.

Functions

function featurestability (in subsets, in nf, in type, in type2)
 

Function Documentation

function featurestability ( in  subsets,
in  nf,
in  type,
in  type2 
)
Returns
y nf x stability curve