You can filter association
rules or sequence rules to display only
the data that you are interested in.
You can apply rule filters
to source data to build models that
include only the rules that meet the defined criteria. You can also
apply
rule filters to models to show only particular rules in the visualizer.
A rule filter is an object that contains a collection of filters
and constraints.
These filters and constraints restrict the set of valid rules or sequences
in an Association rules mining task or in a Sequence rules mining
task.
You can use rule filters to specify data to build mining
models.
Rule filters can contain the following classes of constraints:
- Count constraints
- Restrict the maximum allowed
number N of rules in the
model to be generated. If more than N rules are found
in
the data, the count constraint formulates a priority criterion that
selects
the N best rules.
- Item
constraints
- Specify the items or the categories of items that
must be included or
excluded in particular parts of the rules. For example, items that
must be
included in the rule body or in the rule head of the rule.
- Range constraints
- Restrict the valid
range of particular statistical or numeric properties
of the rules. For example, range constraints can restrict the maximum
rule
length, the confidence, or the support of the rules.