Generate ID
Synopsis
This operator adds a new attribute with
idrole in the input ExampleSet. Each example in the input ExampleSet is tagged with an incrementedid.If an attribute withidrole already exists, it is overridden by the newid一个ttribute.
Description
This operator adds a new attribute withidrole in the input ExampleSet. It assigns a uniqueidto each example. This operator is usually used to uniquely identify each example. Each example in the input ExampleSet is tagged with an incrementedid. The number from where theidsstart can be controlled by theoffsetparameter. Numerical and integeridscan be assigned. If an attribute withidrole already exists in the input ExampleSet, it is overridden by the newid一个ttribute.
Input
example set input
This input port expects an ExampleSet. It is output of the Retrieve operator in the attached Example Process.
Output
example set output
The ExampleSet with anid一个ttribute is output of this port.
original
The ExampleSet that was given as input is passed without changing to the output through this port. This is usually used to reuse the same ExampleSet in further operators or to view the ExampleSet in the Results Workspace.
Parameters
创建名义id
This parameter indicates if nominalidsshould be created instead of integerids.By default this parameter is not checked, thus integerids一个re created by default. Nominalids一个re of the format id_1, id_2, id_3 and so on.
Offset
This is an expert parameter. It is used if you want to startidfrom a number other than 1. This parameter is used to set the offset value. It is 0 by default, thusidsstart from 1 by default.