SELDAT Mapping selecting a subset of dataset
[B,J] = SELDAT(A,C,F,N,K)
DescriptionB is a subset of the dataset A defined by the set of classes (C), the set of features (F) and the set of objects (N). Classes and features have to be identified by their index. The order of class names can be found by GETLABLIST(A). The index of a particular class can be determined by GETCLASSI. N is applied to all classes defined in C. Defaults: select all, except unlabeled objects. In case A is soft labeled or is a target dataset by B = SELDAT(A,C) the entire dataset is returned, but the labels or targets are reduced to the selected class (target) C. B = SELDAT(A,D) If D is a dataset that is somehow is derived from A, e.g. by selection and mappings, then the corresponding objects of A are retrieved by their object identifiers and returned into B. B = SELDAT(A,{C,LABLISTNAME}) In this case C refers to the classes of the label system defined by LABLISTNAME, see MULTI_LABELING. See also SELCLASS. B = SELDAT(A) Retrieves all labeled objects of A. In all cases empty classes are removed. Example(s)
Generate 8 class, 2-D dataset and select: the second feature, objects
A = GENDATM([3,3,3,3,3,3,3,3]);
See alsodatasets, gendat, getlablist, getclassi, remclass, selclass,
|