Provides the generic functions and the S4 method is.redundant
to find redundant rules.
Usage
is.redundant(x, ...)
## S3 method for class 'rules':
is.redundant(x, measure = "confidence")
Arguments
x
a set of rules.
measure
measure used to check for redundancy.
...
additional arguments.
Value
returns a logical vector indicating which rules are redundant.
Details
Zaki (2000) defines redundant rules as rules where a super rule (items added to the rule's LHS) have the same or higher confidence.
In this implementation other measures, e.g. lift, can be used as well.
References
Zaki, M. J. (2000) Generating non-redundant association rules. Proceedings of the sixth ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, 34--42.