Rule Viewer

Widget for visualization of rules.

Channels

Inputs

A set of rules (RuleClassifier)

Outputs

Examples (ExampleTable)
Attribute-valued data set associated with a rule (or rules) selected by the user.
Classified Examples (ExampleTableWithClass)
Same as above, but used for compatibility with widgets that used class-labelled data only.

Description

This widget is used for visualizing rules learned by rule learning widgets (e.g. CN2). It has two parts; the left part is used for controlling what of and how rules should be presented, while the right part (the bigger part in figure) shows rules. As you can see the viewer can, along pre-conditions and prediction of rule, show several rule parameters like quality, number of covered examples, length, and distribution of class variable (among covered examples). Moreover, these criteria can also be used for sorting rules.

Another important feature of widget is that it allows selection of rules (one or several at a time). The selection of rules sends covered examples of these rules (a disjunction when several are selected) to the output signal. Rule Viewer

Examples

For an example of widget's use in canvas see documentation of CN2 widget.