(AI Studio Core)
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 (Data table)
This input port expects an ExampleSet. It is the output of the Retrieve operator in the attached Example Process.
Output
- example set output (Data table)
The ExampleSet with the new attribute that is a copy of the specified attribute is output of this port.
- original (Data table)
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 nameThe attribute whose copy is required is specified by the attribute name parameter.
- new nameThe 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.
Tutorial Processes
Generating a copy of the Temperature attribute of the Golf data set
The 'Golf' data set is loaded using the Retrieve operator. The Generate Copy operator is applied on it. The attribute name parameter is set to 'Temperature'. The new name parameter is set to 'New Temperature'. Run the process. You will see that an attribute named 'New Temperature' has been added to the 'Golf' data set. The new attribute has the same values as the 'Temperature' attribute. The 'Temperature' attribute remains unchanged.