Merge Attributes
Synopsis
This operator merges two or more ExampleSets into one by appending all attributes into one ExampleSet row-by-row. The first row is merged with the first row of the other ExampleSets, the second with the second and so on. If the size of the input ExampleSet differs, the resulting ExampleSet will insert missing values for all attributes originating from the smaller ExampleSets.
Input
example set
This operator can have multiple ExampleSet inputs. When one ExampleSet is connected, another input port becomes available which is ready to accept another ExampleSet. The order of inputs remains the same. Collections of ExampleSets can also be connected.
Output
merged set
The merged ExampleSet.
Parameters
Handling of duplicate attributes
This parameter defines how equally named attributes are treated.
- rename: All attributes with the same name will be renamed to attributeName_ExampleSetNumber.
- keep_only_first: For attributes with the same name, only the first one is kept in the resulting merged ExampleSet. Attributes of ExampleSets with the same name, or of ExampleSets inside the collection(s) having the same name, are ignored. This is irrespective of the values of these attributes.
Handling of special attributes
This parameter defines how special attributes are treated during. The role of each special attribute can only occur once in the resulting ExampleSet.
- keep_first_special_other_regular: The first attribute with a special role keeps its role. All other attributes with this role will be changed to regular attributes.
- keep_only_first: Only the first attribute with a special role is kept. All attributes with the same special role in other ExampleSets are ignored.
- change_all_special_to_regular: All special attributes are changed to regular ones.
Handling of duplicate annotations
This parameter defines how equally named annotations are treated.
- rename: All annotations with the same name will be renamed to annotationName_ExampleSetNumber.
- keep_only_first: For annotations with the same name, only the first one is kept in the resulting merged ExampleSet. Among other inputs, annotations of ExampleSets with the same name or of ExampleSets inside the collection(s) having the same name are ignored.