Database Reference
In-Depth Information
butter,
hard cheese} => {whipped/sour cream}
0.001423488 0.6666667 9.300236
10 {tropical fruit,
other vegetables,
butter,
fruit/vegetable juice} => {whipped/sour cream}
0.001016777 0.6666667 9.300236
The following code fetches a total of 127 rules whose confidence is above 0.9:
confidentRules <- rules[quality(rules)$confidence > 0.9]
confidentRules
set of 127 rules
The next command produces a matrix-based visualization ( Figure 5.5 ) of the LHS
versus the RHS of the rules. The legend on the right is a color matrix indicating the
lift and the confidence to which each square in the main matrix corresponds.
plot(confidentRules, method="matrix", measure=c("lift",
"confidence"),
control=list(reorder=TRUE))
Search WWH ::




Custom Search