Converting Datasets to Rulesets

There are two main scenarios in which the Convert Dataset to Ruleset task is most frequently used:

  1. 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.

  2. 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

  1. Drag and drop the Convert Dataset to Ruleset task onto the stage.

  2. Connect a task, which contains the dataset you want to convert, to the new task.

  3. Double click the conversion task.

  4. Configure the options described in the Convert Dataset to Ruleset options table below.

  5. 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.
Instead of manually dragging and dropping attributes, they can be defined via a filtered list. This is preferable if you have many attributes, and you select, for example, all attributes that start with the word Condition.