PRTools contents

PRTools manual

classsizes

CLASSSIZES

Get sizes of classes in a dataset

    [N,LABLIST] = CLASSSIZES(A)

Input
 A Dataset

Output
 N Vector of the class cardinalities
 LABLIST Label list

Description

Returns class cardinalities of the dataset A. The order of the classes  is identical to the list of class labels returned in LABLIST.

PRTools contents

PRTools manual