![]() |
IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
|
Creates class map from a list of class labels.
This functions searches from a list of labels within the classlabels
complete list and returns their indexes. It can also work in complement mode (xor with complete list). It searches within one combination of class levels.
Definition in file classlabels2classmap.m.
Go to the source code of this file.
Functions | |
function | classlabels2classmap (in classlabels, in classlabels_select, in levels, in flag_complement) |
function classlabels2classmap | ( | in | classlabels, |
in | classlabels_select, | ||
in | levels, | ||
in | flag_complement | ||
) |
classlabels | Full list of class labels |
classlabels_select | Class labels to be selected |
levels | Combination of levels (won't do search within individual levels, but will instead assume that the elements inside classlabels_select ) are made to match elements of classlabels when they are re-mounted taken into account levels only |
flag_complement | =0 Option to return the complement classes instead |