Skip to main content

Generate Copy

Synopsis

This operator generates the copy of an attribute. The original attribute remains unchanged.

Description

The Generate Copy operator adds a copy of the selected attribute to the input ExampleSet. Please note that the original attribute remains unchanged, just a new attribute is added to the ExampleSet. The attribute whose copy is required is specified by the attribute name parameter. The name of the new attribute is specified through the new name parameter. Please note that the names of attributes of an ExampleSet should be unique. Please note that only the view on the data column is copied, not the data itself.

Input

example set input

This input port expects an ExampleSet. It is the output of the Retrieve operator in the attached Example Process.

Output

example set output

The ExampleSet with the new attribute that is a copy of the specified attribute 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

Attribute name

The attribute whose copy is required is specified by the attribute name parameter.

New name

The name of the new attribute is specified through the new name parameter. Please note that the names of attributes of an ExampleSet should be unique.