Converting Datasets to Rulesets
There are two main scenarios in which the Convert Dataset to Ruleset task is most frequently used:
When you need to quickly add a large number of heuristic rules into a flow. The rules can be entered into a table, which can then be imported into a flow as a dataset, and then converted into a ruleset.
When you have already converted a ruleset into a dataset, using the Convert Ruleset to Dataset task, in order to perform in-depth analysis in the Data Manager, and you now want to reconvert the task back to a ruleset format.
Prerequisites
you must have created a flow;
the required datasets must have been imported into the flow;
a task has generated a ruleset in the flow;
the format of the dataset must be one row for each rule.
Procedure
Drag and drop the Convert Dataset to Ruleset task onto the stage.
Connect a task, which contains the dataset you want to convert, to the new task.
Double click the conversion task.
Configure the options described in the Convert Dataset to Ruleset options table below.
Save and compute the task.
Convert Dataset to Ruleset options | |
---|---|
Parameter Name | Description |
Rule ID attribute | Select the attribute in the dataset which contains the ID for each rule. These numbers must be unique and consecutive. If this is not the case, leave this option blank and new numbers will be assigned to the rows. |
Rule output name attribute | Select the attribute in the dataset that contains the output attributes. |
Rule output value attribute | Select the attribute in the dataset that contains the output attribute values. |
Rule covering attribute | Select the attribute in the dataset that contains the covering value. |
Rule error attribute | Select the attribute in the dataset that contains the error value. |
Rule condition attributes (NOMINAL) | Drag and drop here all the attributes that represent rule conditions. |