PRTools contents

PRTools manual

addlablist

ADDLABLIST

Add another label list to dataset definition

  [B,N] = ADDLABLIST(A,LABLIST,LABLISTNAME)

Input
 A Dataset
 LABLIST Label list to be added
 LABLISTNAME Optional name for this label list

Output
 B Dataset
 N Number for the new label list

Description

This command adds an additional label list to a dataset. It also  activates this label list as the current one. LABLISTNAME may be  given to identify this label list in the CHANGELABLIST command.  Alternatively, the label list number may be used there.

Multiple label lists are only supported for crisp label types and  not for the soft and target label types. See SETLABELS.

In addition to storing the new label list the following changes in  the dataset are made

The ADDLABLIST command should be followed by a SETNLAB to store the  proper new labels for the objects and by a SETPRIOR to update the  prior probability setting. These actions may be combined by the  ADDLABELS command. An existing label list may be removed by the  DELLABLIST command.

[A,N,T0,T1] = ADDLABLIST(A)

In this case just the current label list is returned in N and the start  and endpoint of the corresponding columns in A.TARGET. If T0no  targets are set.

See also

datasets, multi_labeling, addlabels, changelablist, curlablist, dellablist,

PRTools contents

PRTools manual