PRTools Contents

PRTools User Guide

classnames

CLASSNAMES

Get names of classes of dataset or classifier

   NAMES = CLASSNAMES(A,C)
   NAMES = CLASSNAMES(W,C)
   NAMES = A*CLASSNAMES(C)
   NAMES = W*CLASSNAMES(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)

Description

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.

See also

datasets, mappings, classsizes,

PRTools Contents

PRTools User Guide

This file has been automatically generated. If badly readable, use the help-command in Matlab.