Skip to main content

Generate Nominal Data

Synopsis

This operator generates an ExampleSet based on nominal attributes. The number of examples, number of attributes, and number of values can be specified by the user.

Description

The Generate Nominal Data operator generates an ExampleSet with the specified number of nominal attributes which is controlled by the number of attributes parameter. Please note that in addition to the specified number of regular attributes, the label attribute is automatically generated. The label attribute generated by this operator has only two possible values i.e. positive and negative. This operator is used for generating a random ExampleSet for testing purposes.

Output

output

The Generate Nominal Data operator generates an ExampleSet based on nominal attributes which is delivered through this port. The meta data is also delivered along with the data.This output is the same as the output of the Retrieve operator.

Parameters

Number examples

This parameter specifies the number of examples to be generated.

Number of attributes

This parameter specifies the number of regular attributes to be generated. Please note that the label attribute is generated automatically besides these regular attributes.

Number of values

This parameter specifies the number of unique values of the attributes.

Use local random seed

This parameter indicates if a local random seed should be used for randomization. Using the same value of local random seed will produce the same ExampleSet. Changing the value of this parameter changes the way examples are randomized, thus the ExampleSet will have a different set of values.

Local random seed

This parameter specifies the local random seed. This parameter is only available if the use local random seed parameter is set to true.