Skip to main content

Generate Products

Synopsis

This operator generates new attributes by taking the products of the specified attributes.

Description

The Generate Products operator generates new attributes by taking the products of the specified attributes. The attributes are specified through the first attribute name and second attribute name parameters. For example, if the first attribute name parameter has attributes A and B, and the second attribute name has attributes C and D. Then four attributes AC, AD, BC and BD will be generated by this operator. These attributes will have products of the corresponding attribute values.

Input

example set input

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

Output

example set output

New attributes are generated by taking the products of the specified attributes and the resultant ExampleSet is returned through 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

First attribute name

This parameter specifies the name(s) of the first attribute(s) to be multiplied. Attribute names can be specified through regular expressions.

Second attribute name

This parameter specifies the name(s) of the second attribute(s) to be multiplied. Attribute names can be specified through regular expressions.