You are viewing the RapidMiner Studio documentation for version 8.2 - Check here for latest version
Generate Copy (RapidMiner Studio Core)
SynopsisThis operator generates the copy of an attribute. The original attribute remains unchanged.
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.
- example set input (Data Table)
This input port expects an ExampleSet. It is the output of the Retrieve operator in the attached Example Process.
- 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.
- attribute_nameThe attribute whose copy is required is specified by the attribute name parameter. Range: string
- 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. Range: string
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.