PRTools contents |
CLASSNAMES
NAMES = CLASSNAMES(A,C)
NAMES = CLASSNAMES(W,C)
Input | |
A | Dataset |
W | Trained classifier |
C | Class number(s) in class label list, default: all |
Output | |
NAMES | Names of classes (strings or numbers) |
Returns the names of the classes used in the dataset A or the classes used by the classifier W. If for datasets no output is requested the names and the sizes of the classes are printed on the screen. If given, just the names of the classes corresponding to the indices in C are returned.
datasets, mappings, classsizes,
PRTools contents |