TEAP (Toolbox for Emotion Analysis using Physiological Signals) doc
|
This function select a subset of features from 'featuresNames' based on 'include' / 'exclude' satements. Features are always returned in the same order than 'features name'. More...
Go to the source code of this file.
Functions | |
function | featuresSelector (in featuresNames, in varargin) |
If no Include/exclude statement is specifed all features are returned. More... | |
This function select a subset of features from 'featuresNames' based on 'include' / 'exclude' satements. Features are always returned in the same order than 'features name'.
Definition in file featuresSelector.m.
function featuresSelector | ( | in | featuresNames, |
in | varargin | ||
) |
If no Include/exclude statement is specifed all features are returned.
So far only one include/options option can be specified. If several are specified only the last will be taken into account. Proposed features which are not included in 'featuresNames' are rejected (no error output). Examples: featuresSelector({'A','B',C'},'Include',{'A','C'}) returns {'A','C'} featuresSelector({'A','B',C'},'Exclude',{'A'}) returns {'B','C'}
featuresNames | cell array containing the complete list of features names |
varargin | pair of arguments in the matlab style. The second argument represent a subset of features as a cell array. The first argument tells if the subset should be removed from the full set of features ('exclude') or included in an empty set ('include') |
selFeatures | a cell array of selected features |