Rules block
The Rules block implements and executes a set of discrete rules.
Rules block
Description
This block evaluates the Rules model each time the block executes. The values of the Rules block input variables are read from the inputs assigned during configuration.
DIAGRAM OF THE RULES BLOCK
Block Type
Rules & Model block
Input/Output ports
Information parsed to the input port (list input fields/ tags in a Normal list). The block can only work with input fields of type double, integer or string. The Rules model produces the most probable class in the output field of the Output port. The Output field in the Output port is of type text. The current active rule number is displayed in the ActiveRule field of the Statistics port as an integer value. The Offline trainer block requires a target field for which the output is trained on. The type of the target field should be text.
In order for this block to run,
-
A rules model must be constructed;
-
Every rules input variable must be available as input field fields in the Input port; and
-
There should be no additional fields connected to the Input port i.e. the Rules block always uses all it’s input fields.
Functions performed on tags
-
On the values - The output values are determined by the rules model.
-
On the timestamp - The time stamp of the Output field and the ActiveRule field is set to the execution time stamp.
-
On the quality - The quality of an Output and ActiveRule fields are set to bad when an input field has bad quality. The value of such an output is indeterminate. The timestamp is set as explained above.
Related topics: